login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A265309
Numbers k such that (10^(k+4)*7 - 36763)/9 is prime (k > 0).
1
1, 2, 4, 7, 14, 17, 55, 61, 259, 269, 791, 3613, 6448, 8317, 18194, 32219
OFFSET
1,2
COMMENTS
Numbers k such that '3693' appended to k times the digit 7 is prime.
A(n) mod 3 -> {1, 2, 1, 1, 2, 2, 1, 1, 1, 2, 2, 1, 1, 1, 2, 2, ...?}.
EXAMPLE
4 is a term because 77773693 ('7' concatenated 4 times and prepended to '3693') is prime.
MAPLE
A265309:= n->`if`(isprime((10^(n + 4) * 7 - 36763)/9), n, NULL):
seq(A265309(n), n=1..1000);
MATHEMATICA
Select[ Range[10^3], PrimeQ[(10^(# + 4) * 7 - 36763)/9] &]
PROG
(Magma) [n: n in[1 .. 1000] | IsPrime((10^(n+4) * 7 - 36763) div 9)];
(PARI) is(n)=isprime((10^(n+4)*7 - 36763)/9)
CROSSREFS
Cf. A260903.
Sequence in context: A222306 A248220 A018476 * A293825 A289050 A133638
KEYWORD
nonn,base,more,hard
AUTHOR
Mikk Heidemaa, Dec 06 2015
STATUS
approved