Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

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

1,3

COMMENT

Each positive integer occurs exactly twice in this sequence, with 0 occurring only once. In particular, if A002620(n) < m < A002620(n+1), then m occurs in rows n-1 and n; and A002620(n) occurs in rows in rows n-1 (as T(n-1,n-1)) and n+1 (as T(n+1,n)).

FORMULA

G.f.: A(x) = x*(1+3*x^2+2*x^4)/((1-x)^2*(1-x^2)^2) - Paul D. Hanna (pauldhanna(AT)juno.com) T(n,k) = floor((n+(-1)^{n-k})^2/4) - (-1)^{n-k}*floor((n-k)/2)

PROGRAM

(PARI) T(n, k)=if((n-k)%2==0, ((n+1)^2\4)-((n-k)\2), ((n-1)^2\4)+((n-k)\2) ) - Paul D. Hanna (pauldhanna(AT)juno.com)

CROSSREFS

Cf. A140756, A002620.

Sequence in context: A125936 A095701 A067992 this_sequence A100035 A090244 A096180

Adjacent sequences: A140754 A140755 A140756 this_sequence A140758 A140759 A140760

KEYWORD

easy,nonn,tabl

AUTHOR

Franklin T. Adams-Watters (FrankTAW(AT)Netscape.net), May 27 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 August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research