OFFSET
1,2
COMMENTS
Period is (1,9,9).
LINKS
FORMULA
G.f.: x*(1+9*x+9*x^2)/(1-x^3). - Bruno Berselli, May 05 2011
MATHEMATICA
Table[If[(m9 = Mod[(n(n + 1))^2/4, 9]) == 0, 9, m9], {n, 200}]
PROG
(Magma) &cat[[1, 9, 9]: n in [1..29]]; // Bruno Berselli, May 05 2011
CROSSREFS
KEYWORD
base,less,easy,nonn
AUTHOR
Zak Seidov, Oct 23 2009
STATUS
approved