login
A260898
Primes of the form (10^(k+2) + 107) / 9, (k > 0).
2
1123, 11111111111123, 1111111111111123, 1111111111111111111111111111111111111123
OFFSET
1,1
LINKS
MATHEMATICA
Select[Table[(10^(n + 2) + 107)/9, {n, 10^3}], PrimeQ] (* or *)
Select[FromDigits /@ Rest@ NestList["1" <> # &, "23", 10^3], PrimeQ]
PROG
(PARI) is(n)=isprime((10^(n+2) + 107)/9) \\ Anders Hellström, Nov 27 2015
(Magma) [a: n in [1..250] | IsPrime(a) where a is (10^(n+2) + 107) div 9 ]; // Vincenzo Librandi, Nov 29 2015
CROSSREFS
Cf. A004023, A260899 (values of k).
Sequence in context: A069984 A358420 A104285 * A358395 A252906 A203830
KEYWORD
nonn,base,hard,more
AUTHOR
Mikk Heidemaa, Nov 17 2015
STATUS
approved