OFFSET
1,2
COMMENTS
Conjecture: a(n) > 0 for all n > 3, since prime(1) = 2 and prime(3) = 5 are the only primes whose multiples cannot end in 1. - Ryan Propper, Jul 29 2005
LINKS
Daniel Mondot, Table of n, a(n) for n = 1..1000
Ralf Stephan, Factors and Primes in Two Smarandache Sequences, Smar. Notions 9 (1998), pp. 4-10.
EXAMPLE
a(4) = 2 as 21 is divisible by prime(4) = 7.
The smallest reverse concatenation of natural numbers k..1 that is divisible by prime(5) = 11 is 1413121110987654321, so a(5) = k = 14.
MATHEMATICA
Do[p = Prime[n]; k = 1; s = ToString[k]; While[Mod[ToExpression[s], p] > 0, k++; s = ToString[k] <> s]; Print[k], {n, 4, 50}] (* Ryan Propper, Jul 29 2005 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Nov 01 2002
EXTENSIONS
Corrected and extended by Ralf Stephan, Mar 18 2003
Example clarified by Harvey P. Dale, Aug 22 2013
STATUS
approved