Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A152271
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A152271 a(n)=1 for even n and (n+1)/2 for odd n . +0
2
1, 1, 1, 2, 1, 3, 1, 4, 1, 5, 1, 6, 1, 7, 1, 8, 1, 9, 1, 10, 1, 11, 1, 12, 1, 13, 1, 14, 1, 15, 1, 16, 1, 17, 1, 18, 1, 19, 1, 20, 1, 21, 1, 22, 1, 23, 1, 24, 1, 25, 1, 26, 1, 27, 1, 28, 1, 29, 1, 30, 1, 31, 1, 32, 1, 33, 1, 34, 1, 35, 1, 36, 1, 37, 1, 38, 1, 39, 1, 40, 1, 41, 1, 42, 1, 43, 1, 44 (list; graph; listen)
OFFSET

0,4

FORMULA

a(n)=2*a(n-2)-a(n-4) with a(0)=a(1)=a(2)=1 and a(3)=2 . a(n)=(a(n-2)+a(n-3))/a(n-1). G.f.: (1+x-x^2)/(1-2*x^2+x^4). a(n)=A057979(n+2).

a(n)=(1/4)*[3+n+(1-n)*(-1)^n], with n>=0 [From Paolo P. Lava (ppl(AT)spl.at), Dec 12 2008]

a(n)a(n+1)=floor((n+2)/2). = A008619(n). [Paul Barry (pbarry(AT)wit.ie), Feb 27 2009

a(n)=sum{k=0..floor(n/2), C(n-k,k)*0^floor((n-2k)/2)}. [Paul Barry (pbarry(AT)wit.ie), Feb 27 2009

CROSSREFS

Cf. A057979

Sequence in context: A077610 A007879 A057979 this_sequence A133622 A158416 A162520

Adjacent sequences: A152268 A152269 A152270 this_sequence A152272 A152273 A152274

KEYWORD

nonn

AUTHOR

Philippe DELEHAM (kolotoko(AT)wanadoo.fr), Dec 01 2008

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