login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Please make a donation to keep the OEIS running. In 2018 we replaced the server with a faster one, added 20000 new sequences, and reached 7000 citations (often saying "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A159611 Indices, in the sequence of primes, of the known Fermat primes. 4
2, 3, 7, 55, 6543 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

A098006(a(n)) = 0. - Reinhard Zumkeller, Mar 26 2013

LINKS

Table of n, a(n) for n=1..5.

EXAMPLE

3, the Fermat prime corresponding to n = 0, is the 2nd prime, so a(0) = 2.

17, the Fermat prime corresponding to n = 2, is the 7th prime, so a(2) = 7.

PROG

(Haskell)

import Data.List (elemIndices)

a159611 n = a159611_list !! (n-1)

a159611_list = map (+ 2) $ elemIndices 0 a098006_list

-- Reinhard Zumkeller, Mar 26 2013

(PARI) for(i=0, 10, isprime(f=2^2^i+1) & print1(primepi(f), ", ")) \\ Michel Marcus, Apr 28 2016

CROSSREFS

Cf. A019434 (the Fermat primes), A000040 (the primes).

Sequence in context: A270402 A253574 A238399 * A156585 A299923 A087358

Adjacent sequences:  A159608 A159609 A159610 * A159612 A159613 A159614

KEYWORD

nonn,more

AUTHOR

Walter Nissen, Apr 16 2009

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 15 01:20 EST 2018. Contains 318141 sequences. (Running on oeis4.)