Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A080425
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A080425 Jacobsthal selector sequence. +0
5
0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 2, 1 (list; graph; listen)
OFFSET

0,2

COMMENT

The Jacobsthal sequence A001045 can be defined by A001045(n)=Sum{k=0..floor(n,3), binomial(n, A080425(n-1)+3k)}

a(n) = A130196(n) + A131534(n) - 2. [From Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Nov 12 2009]

FORMULA

a(n)=ceiling((mod(n, 3)+1)/2)+(-1)^(mod(n, 3)+1)

G.f.: x(x+2)/(1-x^3) - Paul Barry (pbarry(AT)wit.ie), May 25 2003

a(n) = (3 - n mod 3) mod 3. - Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Jul 30 2005

a(n)=2*A001045(L(n/3)), where L(j/p) is the Legendre symbol of j and p.

a(n)=(-n) mod 3; also a(n)=3*ceiling(n/3)-n. - Hieronymus Fischer (Hieronymus.Fischer(AT)gmx.de), May 29 2007

MAPLE

[seq (modp((2*n+1), 3), n=1..90)]; - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Dec 01 2006

CROSSREFS

Cf. A001045, A007318.

Cf. A010872.

Sequence in context: A112201 A112203 A132798 this_sequence A048141 A025664 A025854

Adjacent sequences: A080422 A080423 A080424 this_sequence A080426 A080427 A080428

KEYWORD

easy,nonn,new

AUTHOR

Paul Barry (pbarry(AT)wit.ie), Feb 20 2003

EXTENSIONS

More terms from Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Jul 30 2005

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 23 10:40 EST 2009. Contains 167421 sequences.


AT&T Labs Research