OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..2500
EXAMPLE
If k=1 then 88k = 881, which is prime.
If k=61 then 88k = 8861, which is prime.
MAPLE
a:= proc(n) local k; for k from 1 +`if`(n=1, 0, a(n-1))
while not isprime(parse(""||88||k)) do od; a(n):=k
end:
seq(a(n), n=1..100); # Alois P. Heinz, Jul 30 2014
MATHEMATICA
Select[Range[900], PrimeQ[88 10^IntegerLength[#] + #] &] (* Vincenzo Librandi, Jul 30 2014 *)
PROG
(Magma) [n: n in [1..600] | IsPrime(Seqint(Intseq(n) cat [8, 8])) ]; // Vincenzo Librandi, Jul 30 2014
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Parthasarathy Nambi, Sep 01 2005
EXTENSIONS
More terms from Vincenzo Librandi, Mar 27 2010
STATUS
approved