OFFSET
1,5
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..1000
B. Cloitre, An asymptotic formula for sum_{k=1..n}x^(n modk) [broken link]
FORMULA
a(n) is asymptotic to (1/10)*(5+sqrt(5))*phi^ceiling(n/2) where phi=(1+sqrt(5))/2.
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Oct 22 2011
STATUS
approved