Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A130205
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A130205 a(n)=n^2-a(n-1)-a(n-2). +0
2
1, 2, 6, 8, 11, 17, 21, 26, 34, 40, 47, 57, 65, 74, 86, 96, 107, 121, 133, 146, 162, 176, 191, 209, 225, 242, 262, 280, 299, 321, 341, 362, 386, 408, 431, 457, 481, 506, 534, 560, 587, 617, 645, 674, 706, 736, 767, 801, 833, 866, 902, 936, 971, 1009, 1045, 1082 (list; graph; listen)
OFFSET

1,2

COMMENT

Any three consecutive terms sum up to a perfect square. First 9 terms coincide with A076991.

FORMULA

a(1)=1, a(2)=2; n>2: a(n)=n^2-a(n-1)-a(n-2).

G.f.: x*(1+3*x^2-3*x^3+x^4)/(1+x+x^2)/(1-x)^3 [From Maksym Voznyy (voznyy(AT)mail.ru), Jul 27 2009]

EXAMPLE

1+2+6=3^2, 2+6+8=4^2, 6+8+11=5^2.

MATHEMATICA

a[1]=1; a[2]=2; a[n_]:=a[n]=n^2-a[n-1]-a[n-2]; Table[a[n], {n, 100}]

CROSSREFS

Cf. A076991, A130206.

Sequence in context: A079418 A136496 A076991 this_sequence A054067 A064212 A056906

Adjacent sequences: A130202 A130203 A130204 this_sequence A130206 A130207 A130208

KEYWORD

nonn

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), May 16 2007

EXTENSIONS

G.f. proposed by Maksym Voznyy checked and corrected by R. J. Mathar, Sep 16 2009.

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research