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!)
A128026 Numbers n such that (10^n - 3^n)/7 is prime. 29
2, 3, 5, 37, 599, 38393, 51431, 118681, 376417 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
All terms are primes.
No other terms < 1000000.
LINKS
Jon Grantham and Andrew Granville, Fibonacci primes, primes of the form 2^n-k and beyond, arXiv:2307.07894 [math.NT], 2023.
MATHEMATICA
k=7; Select[ Prime[ Range[1, 200] ], PrimeQ[ ((k+3)^# - 3^#)/k ]& ]
PROG
(PARI) forprime(p=2, 1e4, if(ispseudoprime((10^p-3^p)/7), print1(p", "))) \\ Charles R Greathouse IV, Jun 05 2011
CROSSREFS
Cf. A028491 = numbers n such that (3^n - 1)/2 is prime.
Cf. A057468 = numbers n such that 3^n - 2^n is prime.
Cf. A059801 = numbers n such that 4^n - 3^n is prime.
Cf. A121877 = numbers n such that (5^n - 3^n)/2 is a prime.
Sequence in context: A089213 A029499 A347720 * A041443 A336787 A057775
KEYWORD
hard,nonn
AUTHOR
Alexander Adamchuk, Feb 11 2007
EXTENSIONS
a(6)-a(7) from Robert Price, Jun 04 2011
a(8)-a(9) from Jon Grantham, Jul 29 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 May 5 07:46 EDT 2024. Contains 372257 sequences. (Running on oeis4.)