Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A135370
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A135370 a(1)=1; then if n even a(n)=n+a(n-1), if n odd a(n)=2*n+a(n-1). +0
5
1, 3, 9, 13, 23, 29, 43, 51, 69, 79, 101, 113, 139, 153, 183, 199, 233, 251, 289, 309, 351, 373, 419, 443, 493, 519, 573, 601, 659, 689, 751, 783, 849, 883, 953, 989, 1063, 1101, 1179, 1219, 1301, 1343, 1429, 1473, 1563, 1609, 1703, 1751, 1849 (list; graph; listen)
OFFSET

1,2

LINKS

Pierre CAMI, Table of n, a(n) for n = 1..1000

FORMULA

a(n) ~ 0.75*n^2 (the sequence a(n)/n^2 has limit 3/4). - Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Dec 10 2007

G.f.: x(1+2x+4x^2-x^4)/((1+x)^2*(1-x)^3)). a(n) = a(n-1) +2*a(n-2) -2*a(n-3) -a(n-4) +a(n-5) = -7/8 +3n(n+1)/4 -(-1)^n*(1+2n)/8. [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Oct 24 2008]

MATHEMATICA

a = {1}; For[n = 2, n < 100, n++, If[OddQ[n], AppendTo[a, 2*n + a[[ -1]]], AppendTo[a, n + a[[ -1]]]]]; a - Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Dec 10 2007

CROSSREFS

Sequence in context: A075318 A118570 A004617 this_sequence A022408 A126827 A106402

Adjacent sequences: A135367 A135368 A135369 this_sequence A135371 A135372 A135373

KEYWORD

nonn

AUTHOR

Pierre CAMI (pierrecami(AT)tele2.fr), Dec 09 2007

EXTENSIONS

More terms from Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Dec 10 2007

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