Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A138759
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A138759 Indices for which A001203 (continued fraction for Pi) is prime. +0
4
1, 2, 9, 11, 14, 17, 18, 19, 20, 23, 27, 28, 31, 36, 37, 39, 40, 46, 48, 49, 50, 52, 59, 65, 70, 71, 72, 73, 75, 85, 86, 90, 93, 95, 97, 101, 102, 105, 106, 109, 110, 111, 118, 120, 122, 123, 124, 127, 128, 131, 132, 133, 140, 142, 145, 146, 151, 152, 153, 155, 159 (list; graph; listen)
OFFSET

1,2

FORMULA

k is in A138759 <=> A001203(k) is in A000040

EXAMPLE

This sequence starts 1,2,9,11,... since the 1st, 2nd, 9th, 11th...

term of sequence A001203 = (3, 7, 15, 1, 292, 1, 1, 1, 2, ...) are primes.

PROGRAM

(PARI) default(realprecision, 1000); t=contfrac(Pi); for( k=1, #t, isprime(t[k]) & print1(k", "))

CROSSREFS

Cf. A001203, A005042, A107892, A138758.

Sequence in context: A073634 A065554 A034042 this_sequence A098934 A043307 A049343

Adjacent sequences: A138756 A138757 A138758 this_sequence A138760 A138761 A138762

KEYWORD

nonn

AUTHOR

M. F. Hasler (www.univ-ag.fr/~mhasler), Mar 31 2008

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 29 12:46 EST 2009. Contains 167659 sequences.


AT&T Labs Research