Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

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

0,3

COMMENT

Pairwise sums are abs(A023443), or n-1+2*0^n. The partial sums of this sequence is A000124, with extra leading 1. Partial sums are A097066. Binomial transform is A097067.

FORMULA

G.f. : (1-2x+2x^2)/((1+x)(1-x)^2); a(n)=(2n-1)/4+5(-1)^n/4.

MATHEMATICA

Table[(2n - 1)/4 + 5(-1)^n/4, {n, 0, 75}] (* Or *) Flatten[ Table[{n + 1, n - 1}, {n, 0, 37}]] (* Or *) CoefficientList[Series[(1 - 2x + 2x^2)/((1 + x)(1 - x)^2), {x, 0, 75}], x] (from Robert G. Wilson v Jul 24 2004)

CROSSREFS

Essentially the same as A084964.

Sequence in context: A161162 A025636 A025637 this_sequence A084964 A008720 A008734

Adjacent sequences: A097062 A097063 A097064 this_sequence A097066 A097067 A097068

KEYWORD

easy,sign

AUTHOR

Paul Barry (pbarry(AT)wit.ie), Jul 22 2004

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 December 19 12:50 EST 2009. Contains 171053 sequences.


AT&T Labs Research