OFFSET
1,2
COMMENTS
a(n) = floor(n/4) + floor((n-1)/4) + 2 for n>1.
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
MATHEMATICA
Join[{1}, Table[Floor[n/4]+Floor[(n-1)/4]+2, {n, 2, 80}]] (* Harvey P. Dale, Oct 03 2012 *)
PROG
(Haskell)
a092038 n = a092038_list !! (n-1)
a092038_list = 1 : zipWith (\u v -> v + (v `mod` 2) ^ (u `mod` v))
[2..] a092038_list
-- Reinhard Zumkeller, Oct 10 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Mar 27 2004
STATUS
approved