This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A097062 Interleave 2n+1 and 2n-1. 4

%I

%S 1,-1,3,1,5,3,7,5,9,7,11,9,13,11,15,13,17,15,19,17,21,19,23,21,25,23,

%T 27,25,29,27,31,29,33,31,35,33,37,35,39,37,41,39,43,41,45,43,47,45,49,

%U 47,51,49,53,51,55,53,57,55,59,57,61,59,63,61,65,63,67,65,69,67,71,69,73,71,75,73,77,75,79,77,81,79,83,81,85,83,87,85

%N Interleave 2n+1 and 2n-1.

%C Partial sums are A097063, whose pairwise sums are A002061. Binomial transform is A097064.

%F G.f. : (1-2x+3x^2)/((1-x^2)(1-x)); a(n)=(2n-1)/2+3(-1)^n/2.

%F a(n)=2*(n-1)-a(n-1), (with a(0)=1). [From Vincenzo Librandi, Nov 16 2010]

%e a(1)=2*0-1=-1; a(2)=2*1+1=3; a(3)=2*2-3=1; a(4)=2*3-1=5 [From Librandi, Nov 16 2010]

%K easy,sign

%O 0,3

%A _Paul Barry_, Jul 22 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .