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

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A181987 Numbers n such that (39^n - 1)/38 is prime. 1
349, 631, 4493, 16633, 36341 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

Harvey Dubner, Generalized repunit primes, Math. Comp., 61 (1993), 927-930.

Henri Lifchitz, Mersenne and Fermat primes field

MATHEMATICA

Select[Prime[Range[100000]], PrimeQ[(39^#-1)/38]&]

PROG

(PARI) is(n)=ispseudoprime((39^n-1)/38) \\ Charles R Greathouse IV, Jun 13 2017

CROSSREFS

Cf. A028491, A004061, A004062, A004063, A004023, A005808, A004064, A016054, A006032, A006033, A006034, A006035, A127995, A127996, A127997, A127998, A127999, A098438, A128002, A128003, A128004, A128005.

Sequence in context: A230609 A177174 A139658 * A054824 A031420 A273530

Adjacent sequences:  A181984 A181985 A181986 * A181988 A181989 A181990

KEYWORD

hard,more,nonn

AUTHOR

Robert Price, Apr 04 2012

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 13 22:55 EST 2019. Contains 329974 sequences. (Running on oeis4.)