Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A080039
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A080039 a(n)=floor((1+sqrt(2))^n). +0
2
1, 2, 5, 14, 33, 82, 197, 478, 1153, 2786, 6725, 16238, 39201, 94642, 228485, 551614, 1331713, 3215042, 7761797, 18738638, 45239073, 109216786, 263672645, 636562078, 1536796801, 3710155682, 8957108165, 21624372014, 52205852193 (list; graph; listen)
OFFSET

0,2

COMMENT

a(n)=P(n)-(1+(-1)^n)/2, where P(n) is the Pell sequence (A000129) with initial conditions 2, 2.

For n>0 a(n) is the maximum element in the continued fraction for P(n)*sqrt(2) where P=A000129 - Benoit Cloitre (benoit7848c(AT)orange.fr), Jun 19 2005

FORMULA

G.f.: g(t)=(1-t^2+2t^3)/(1-2t-2t^2+2t^3+t^4)

MATHEMATICA

CoefficientList[Series[(1-t^2+2t^3)/(1-2t-2t^2+2t^3+t^4), {t, 0, 30}], t]

CROSSREFS

Sequence in context: A096772 A090803 A018015 this_sequence A131408 A137917 A102714

Adjacent sequences: A080036 A080037 A080038 this_sequence A080040 A080041 A080042

KEYWORD

easy,nonn

AUTHOR

Mario Catalani (mario.catalani(AT)unito.it), Jan 21 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 September 7 23:08 EDT 2008. Contains 143486 sequences.


AT&T Labs Research