login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A060377 Pepin's test numbers. 1
3, 9, 6561, 11790184577738583171520872861412518665678211592275841109096961 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

Next two terms have 15635 and 1024610093 digits respectively. [Corrected by Michael S. Branicky and Sean A. Irvine, Nov 12 2022]

LINKS

Table of n, a(n) for n=0..3.

C. K. Caldwell, Pepin's Test

FORMULA

a(n) = 3^((F(n)-1)/2) where F(n) is a Fermat number (A000215).

EXAMPLE

a(1) = 3^((F(1)-1)/2) = 3^((5-1)/2) = 3^2 = 9.

PROG

(Python)

def a(n): return 3**(2**(2**n-1))

print([a(n) for n in range(4)]) # Michael S. Branicky, Nov 12 2022

CROSSREFS

Sequence in context: A060712 A122463 A072005 * A255503 A027896 A116620

Adjacent sequences: A060374 A060375 A060376 * A060378 A060379 A060380

KEYWORD

nonn

AUTHOR

Jason Earls, Apr 02 2001

EXTENSIONS

Corrected offset, formula and example Harry J. Smith, Jul 04 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 2 00:11 EST 2023. Contains 359186 sequences. (Running on oeis4.)