Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A094875
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A094875 a(n)=1 if floor(Pi*10^n) is prime, otherwise a(n)=0. +0
1
1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 (list; graph; listen)
OFFSET

0,1

EXAMPLE

a(0)=1 because 3 is prime,

a(2)=0 because 314 is divided by 2

a(5)=1 because 314159 is prime

a(13)=0 because 31415926535897 is divided by 163

PROGRAM

(PARI) \p 120 a=vector(100); v=1; for(i=1, 100, a[i]=isprime(floor(Pi*v)); v=v*10)

CROSSREFS

Cf. A089281, A000796, A010051.

Sequence in context: A016338 A113052 A117964 this_sequence A012245 A089801 A089802

Adjacent sequences: A094872 A094873 A094874 this_sequence A094876 A094877 A094878

KEYWORD

nonn

AUTHOR

Frederic E.D. Michaud (famillesmichaud(AT)hotmail.com), Jun 16 2004

EXTENSIONS

More terms from Johan Claes (Johan.Claes(AT)luc.ac.be), Jun 16 2004

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 December 17 13:29 EST 2009. Contains 170826 sequences.


AT&T Labs Research