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!)
A128002 Numbers k such that (31^k - 1)/30 is prime. 9
7, 17, 31, 5581, 9973, 54493, 101111, 535571 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(5) = 9973 was found by Richard Fischer in 2004. - Alexander Adamchuk, Feb 11 2007
LINKS
H. Dubner, Generalized repunit primes, Math. Comp., 61 (1993), 927-930.
MATHEMATICA
Select[Prime[Range[100]], PrimeQ[(31^#-1)/30]&]
PROG
(PARI) is(n)=ispseudoprime((31^n-1)/30) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
Sequence in context: A319304 A144861 A066436 * A301695 A301725 A278920
KEYWORD
hard,more,nonn
AUTHOR
Alexander Adamchuk, Feb 11 2007
EXTENSIONS
More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 05 2008
a(7) = 101111 by Robert Price, Nov 26 2011
a(8) = 535571 from Alexander Zhirkov, added by Paul Bourdelais, Jan 28 2021
Missing term 54493 inserted at the suggestion of Eric Chen by Max Alekseyev, Aug 26 2023
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 23 20:33 EDT 2024. Contains 371916 sequences. (Running on oeis4.)