Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A087958
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A087958 a(n) is the square of the n-th partial sum minus the n-th partial sum of the squares, divided by a(n-1), for all n>=1, starting with a(0)=1, a(1)=5. +0
3
1, 5, 2, 17, 18, 67, 104, 287, 532, 1289, 2598, 5933, 12438, 27639, 59020, 129499, 278920, 608397, 1315658, 2861929, 6200506, 13470635, 29210224, 63421623, 137581660, 298636305, 647959662, 1406286917, 3051529598, 6622430687 (list; graph; listen)
OFFSET

0,2

FORMULA

a(n) = a(n-1) + 3a(n-2) - a(n-3) for n>3; G.f.: (1+4x-6x^2+x^3)/(1-x-3x^2+x^3).

EXAMPLE

a(4)=18 since ((1+5+2+17)^2 - (1^2+5^2+2^2+17^2))/17 = (25^2-217)/17 = 18.

PROGRAM

(PARI) a(0)=1; a(1)=5; for(n=2, 50, a(n)=((sum(k=0, n, a(k))^2-sum(k=0, n, a(k)^2))/a(n-1))

CROSSREFS

Cf. A087640, A087955, A087956, A087957.

Sequence in context: A111267 A146343 A146363 this_sequence A130329 A096035 A036165

Adjacent sequences: A087955 A087956 A087957 this_sequence A087959 A087960 A087961

KEYWORD

nonn

AUTHOR

Paul D. Hanna (pauldhanna(AT)juno.com), Sep 16 2003

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