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

 

Logo
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
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
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 April 25 10:01 EDT 2024. Contains 371967 sequences. (Running on oeis4.)