OFFSET
1,1
EXAMPLE
a(4) = 24443 ==1 (mod 1111).
MAPLE
with(numtheory): for n from 1 to 30 do u := (10^n-1)/9: for j from u+1 to 1000*u+1 by u do if isprime(j) then printf(`%d, `, j); break; fi: od:od:
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy and Meenakshi Srikanth (menakan_s(AT)yahoo.com), May 08 2003
EXTENSIONS
Corrected and extended by James A. Sellers, May 19, 2003
STATUS
approved