OFFSET
1,2
COMMENTS
There is no further term up to 10000. - Farideh Firoozbakht, Sep 23 2009
No more terms through 20000. - Jon E. Schoenfield, Mar 24 2018
a(22) > 50000, if it exists. - Giovanni Resta, Jun 28 2018
REFERENCES
Jason Earls, On Smarandache Repunit N Numbers, Smarandache Notions Journal (2004), Vol. 14.1, pp. 251-258.
EXAMPLE
5 is a member as 5 followed by five 1's, 511111, is a prime.
MATHEMATICA
Do[ If[ PrimeQ[ FromDigits[ Join[IntegerDigits[n], IntegerDigits[(10^n - 1)/9]]]], Print[n]], {n, 1, 1700}]
Select[Range[5000], PrimeQ[FromDigits[Join[IntegerDigits[#], PadRight[{}, #, 1]]]]&] (* The program generates the first 18 terms of the sequence. *) (* Harvey P. Dale, Sep 15 2025 *)
PROG
(PARI) for(n=1, 520, if(isprime(n*10^n+(10^n-1)/9)==1, print1(n, ", ")))
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Amarnath Murthy, Mar 07 2002
EXTENSIONS
More terms from Benoit Cloitre, Mar 09 2002
a(17) (a probable prime) from Rick L. Shepherd, May 10 2002
a(18)-a(19) (probable primes) from Jason Earls, Oct 15 2002
a(20) from Farideh Firoozbakht, Sep 23 2009
a(21) from Giovanni Resta, Jun 28 2018
a(22) from Michael S. Branicky, Jun 30 2025
STATUS
approved
