editing
approved
editing
approved
(n^2-2=A008865) mod 9. Period 9: repeat 8,2,7,5,5,7,2,8,7.
a(n)=(1/108)*{5*(n mod 9)+29*[(n+1) mod 9]-55*[(n+2) mod 9]+77*[(n+3) mod 9]-7*[(n+4) mod 9]+17*[(n+5) mod 9]+41*[(n+6) mod 9]-43*[(n+7) mod 9]+89*[(n+8) mod 9]}, with n>=0 [From Paolo P. Lava, Dec 01 2008]
approved
editing
a(n)=(1/108)*{5*(n mod 9)+29*[(n+1) mod 9]-55*[(n+2) mod 9]+77*[(n+3) mod 9]-7*[(n+4) mod 9]+17*[(n+5) mod 9]+41*[(n+6) mod 9]-43*[(n+7) mod 9]+89*[(n+8) mod 9]}, with n>=0 [From _Paolo P. Lava (paoloplava(AT)gmail.com), _, Dec 01 2008]
_Paul Curtz (bpcrtz(AT)free.fr), _, Nov 28 2008
a(n)=(1/108)*{5*(n mod 9)+29*[(n+1) mod 9]-55*[(n+2) mod 9]+77*[(n+3) mod 9]-7*[(n+4) mod 9]+17*[(n+5) mod 9]+41*[(n+6) mod 9]-43*[(n+7) mod 9]+89*[(n+8) mod 9]}, with n>=0 [From Paolo P. Lava (pplpaoloplava(AT)splgmail.atcom), Dec 01 2008]
(n^2-2=A008865) mod 9. Period 9:repeat 8,2,7,5,5,7,2,8,7.
8, 2, 7, 5, 5, 7, 2, 8, 7, 8, 2, 7, 5, 5, 7, 2, 8, 7, 8, 2, 7, 5, 5, 7, 2, 8, 7, 8, 2, 7, 5, 5, 7, 2, 8, 7, 8, 2, 7, 5, 5, 7, 2, 8, 7, 8, 2, 7, 5, 5, 7, 2, 8, 7
0,1
a(n)=(1/108)*{5*(n mod 9)+29*[(n+1) mod 9]-55*[(n+2) mod 9]+77*[(n+3) mod 9]-7*[(n+4) mod 9]+17*[(n+5) mod 9]+41*[(n+6) mod 9]-43*[(n+7) mod 9]+89*[(n+8) mod 9]}, with n>=0 [From Paolo P. Lava (ppl(AT)spl.at), Dec 01 2008]
nonn
Paul Curtz (bpcrtz(AT)free.fr), Nov 28 2008
approved