OFFSET
1,2
LINKS
Sean A. Irvine, Table of n, a(n) for n = 1..106
Patrick De Geest, Reversed Smarandache Concatenated Numbers
M. Fleuren, Factors and primes of Smarandache sequences.
M. Fleuren, Smarandache Factors and Reverse factors
Carlos Rivera, Puzzle 8. Primes by Listing, The Prime Puzzles and Problems Connection.
FORMULA
EXAMPLE
21 = 3*7 so a(2) = 2; 321 = 3*107 so a(3) = 2; 4321 = 29*149 so a(4) = 2; etc.
a(1)=0 since 1 has no prime factors.
MATHEMATICA
Join[{0}, Table[PrimeOmega[FromDigits[Flatten[IntegerDigits[Range[i, 1, -1]]]]], {i, 2, 36}]] (* Jayanta Basu, May 30 2013 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Paul Jasper (jasperpaul(AT)hotmail.com)
EXTENSIONS
Offset and a(19) corrected and more terms from Sean A. Irvine, Jun 13 2021
Edited by N. J. A. Sloane, Sep 04 2021
STATUS
approved