|
|
A158493
|
|
a(n) = 20*n^2 + 1.
|
|
2
|
|
|
1, 21, 81, 181, 321, 501, 721, 981, 1281, 1621, 2001, 2421, 2881, 3381, 3921, 4501, 5121, 5781, 6481, 7221, 8001, 8821, 9681, 10581, 11521, 12501, 13521, 14581, 15681, 16821, 18001, 19221, 20481, 21781, 23121, 24501, 25921, 27381, 28881, 30421, 32001, 33621, 35281
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
Sequence found by reading the segment (1, 21) together with the line from 21, in the direction 21, 81, ..., in the square spiral whose vertices are the generalized dodecagonal numbers A195162. - Omar E. Pol, Nov 05 2012
|
|
LINKS
|
Vincenzo Librandi, X^2-AY^2=1, Math Forum, 2007. [Wayback Machine link]
|
|
FORMULA
|
G.f.: -(1 + 18*x + 21*x^2)/(x-1)^3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). (End)
Sum_{n>=0} 1/a(n) = (coth(Pi/(2*sqrt(5)))*Pi/(2*sqrt(5)) + 1)/2.
Sum_{n>=0} (-1)^n/a(n) = (cosech(Pi/(2*sqrt(5)))*Pi/(2*sqrt(5)) + 1)/2. (End)
|
|
MATHEMATICA
|
|
|
PROG
|
(Magma) I:=[1, 21, 81]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+1*Self(n-3): n in [1..40]]; // Vincenzo Librandi, Feb 21 2012
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|