OFFSET
1,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (100010001, -1000100010000, 1000000000000).
FORMULA
a(n) = ( 100^(2*n+1) + 1 )^2 / 101. [Bruno Berselli, Jul 23 2013]
G.f.: 101*x*(98029801-1000000010000*x+1000000000000*x^2)/((1-x)*(1-10000*x)*(1-100000000*x)). [Bruno Berselli, Jul 23 2013]
EXAMPLE
a(2) = (99000*(10^8-1)/9999+10)*10^9+9900*(10^8-1)/9999+1 = 990099010099009901.
Note that 990099010099009901 = 990099010^2+099009901^2.
MATHEMATICA
Table[(100^(2 n + 1) + 1)^2/101, {n, 5}] (* Bruno Berselli, Jul 23 2013 *)
PROG
(PARI) a(n) = (99000*(10^(4*n)-1)/9999+10)*10^(4*n+1)+9900*(10^(4*n)-1)/9999+1 \\ Michel Marcus, Jul 23 2013
(Magma) [(100^(2*n+1)+1)^2/101: n in [1..5]]; // Bruno Berselli, Jul 23 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ulrich Schimke (ulrschimke(AT)aol.com)
STATUS
approved