Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A059841
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A059841 A simple periodic sequence. +0
54
1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0 (list; table; graph; listen)
OFFSET

0,1

COMMENT

When viewed as an array the row sum values are 1 1 1 2 3 3 3 4 5 5 5 6 ... A004525

This is the r=0 member of the r-family of sequences S_r(n) defined in A092184 where more information can be found.

Successive binomial transforms of this sequence : A011782, A007051, A007582, A081186, A081187, A081188, A081189, A081190, A060531, A081192

Characteristic function of even numbers: a(A005843(n))=1, a(A005408(n))=0. [From Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Sep 29 2008]

REFERENCES

Paul Barry, A Catalan Transform and Related Transformations on Integer Sequences, Journal of Integer Sequences, Vol. 8 (2005), Article 05.4.5.

LINKS

Index entries for sequences related to linear recurrences with constant coefficients

Index entries for characteristic functions

FORMULA

G.f.: 1/(1-x^2). E.g.f.: cosh(x). a(n)=(n+1)mod 2. a(n)=1/2 + (-1)^n/2. - Paul Barry (pbarry(AT)wit.ie), Mar 11 2003

T(n, k)=([n/2]+n+k+1)mod 2, 0<=k<=n.

Additive with a(p^e) = 1 if p = 2, 0 otherwise.

a(n)= {sin[(n+1)*Pi/2]}^2 = [cos(n*Pi/2)]^2 with n>=0 - Paolo P. Lava (ppl(AT)spl.at), Nov 17 2006

a(n)= Sum_{k, 0<=k<=n}(-1)^k*A038137(n,k) . - Philippe DELEHAM (kolotoko(AT)wanadoo.fr), Nov 30 2006

MAPLE

with(combstruct):ZL2:=[S, {S=Set(Cycle(Z, card=2))}, unlabeled]:seq(count(ZL2, size=n), n=0..100); - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Sep 24 2007

MATHEMATICA

CellularAutomaton[50, {{1}, 0}, 104, {All, {0}}] // Flatten [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Jul 08 2009]

PROGRAM

(PARI) {a(n)=(n+1)%2} {T(n, k)=if(k<0|k>n, 0, (n\2+n+k+1)%2)}

CROSSREFS

Ones complement of A000035. Cf. A004525, A011782.

Sequence in context: A101455 A056594 A091337 this_sequence A071022 A071025 A162549

Adjacent sequences: A059838 A059839 A059840 this_sequence A059842 A059843 A059844

KEYWORD

easy,nonn,tabl

AUTHOR

Alford Arnold (Alford1940(AT)aol.com), Feb 25 2001

page 1

Search completed in 0.006 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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research