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
3
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

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 of A010051 (the other bisection is A063524).

Cf. A065091.

Adjacent sequences: A101261 A101262 A101263 this_sequence A101265 A101266 A101267

Sequence in context: A095076 A130854 A112448 this_sequence A095770 A140318 A060584

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 October 13 02:37 EDT 2008. Contains 145008 sequences.


AT&T Labs Research