|
Search: id:A135405
|
|
|
| A135405 |
|
Sequence where the sum of each pair of consecutive elements is a square. This covers squares of all consecutively increasing integers with the exception of 2. |
|
+0 1
|
|
| 0, 1, 8, 8, 17, 19, 30, 34, 47, 53, 68, 76, 93, 103
(list; graph; listen)
|
|
|
OFFSET
|
0,3
|
|
|
COMMENT
|
a(n)=(n+2)*(n+1)/2+2*(-1)^n
|
|
FORMULA
|
O.g.f.: -x*(1+6*x-8*x^2+3*x^3)/((-1+x)^3*(1+x)) = -3-1/(-1+x)^3+2/(1+x). a(n)= A000217(n+1)+2*(-1)^n if n>0. - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Dec 12 2007
|
|
EXAMPLE
|
a(1)=1 because 0 + 1 = 1^2
a(2)=8 because 1 + 8 = 9 = 3^2
a(3)=8 because 8 + 8 =16 = 4^2
|
|
CROSSREFS
|
Sequence in context: A028997 A112439 A022091 this_sequence A006784 A061156 A109049
Adjacent sequences: A135402 A135403 A135404 this_sequence A135406 A135407 A135408
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Alexander R. Povolotsky (pevnev(AT)juno.com), Dec 11 2007, Apr 02 2008
|
|
|
Search completed in 0.002 seconds
|