Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A101264
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A101264 a(n) = 1 iff 2*n+1 is prime, else a(n) = 0. +0
9
0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0 (list; graph; listen)
OFFSET

0,1

COMMENT

Taking the inverse Moebius transform produces an interesting sequence! - Jonathan Vos Post, Dec 19 2004

Inverse Mobius transform of the sequence, after dropping a(0), yields A086668. [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jan 25 2009]

If we drop a(0) then we may describe the sequence as: for all numbers k(n) [k(n) = 4 ceil(n/2) + (-1)^n] congruent to -1 or +1 (mod 4) starting with k(n) = {3,5,7,9,11,...}, a(k(n)) is 1 if k(n) is prime and 0 if k(n) is composite. [From Daniel Forgues (squid(AT)zensearch.com), Mar 01 2009]

LINKS

Daniel Forgues, Table of n, a(n) for n=0,...,49999

FORMULA

a(n) = A057427(A085090(n+1)). - Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Sep 14 2006

EXAMPLE

a(1) = 1 because 2*1+1 = 3 is prime;

a(2) = 1 because 2*2+1 = 5 is prime;

a(3) = 1 because 2*3+1 = 7 is prime;

a(4) = 0 because 2*4+1 = 9 is composite;

MATHEMATICA

Table[If[PrimeQ[2n + 1], 1, 0], {n, 0, 104}] (Ray Chandler)

CROSSREFS

Bisection (odd n) of A010051.

Cf. A065091, A063524.

If we drop a(0), equals absolute value of A156707. [From Daniel Forgues (squid(AT)zensearch.com), Mar 01 2009]

Sequence in context: A130854 A165191 A112448 this_sequence A095770 A140318 A060584

Adjacent sequences: A101261 A101262 A101263 this_sequence A101265 A101266 A101267

KEYWORD

easy,nonn

AUTHOR

Giovanni Teofilatto (g.teofilatto(AT)tiscalinet.it), Dec 18 2004

EXTENSIONS

Corrected by Ray Chandler (rayjchandler(AT)sbcglobal.net), Jan 09 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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research