OFFSET
1,1
COMMENTS
There are no primes p such that p + 10^i are prime for i from 1 to 6, because at least one of p and p + 10^i for i from 1 to 6 is divisible by 7.
All terms == 13 (mod 42).
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 25339 is a term because 25339, 25349, 25439, 26339, 35339, and 125339 are all prime.
MAPLE
select(t -> andmap(isprime, [t, t+10, t+10^2, t+10^3, t+10^4, t+10^5]),
[seq(i, i=13 .. 10^7, 42)]);
MATHEMATICA
Select[Prime[Range[10^5]], AllTrue[{#+10, #+10^2, #+10^3, #+10^4, #+10^5}, PrimeQ]&] (* James C. McMahon, Oct 16 2025 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov and Robert Israel, Oct 11 2025
STATUS
approved
