OFFSET
0,1
LINKS
Chai Wah Wu, Table of n, a(n) for n = 0..1000
EXAMPLE
a(8) = 24481 and the digital product is 2^8.
MATHEMATICA
NextPrim[n_] := Block[{k = n + 1}, While[ ! PrimeQ[k], k++ ]; k]; a = Table[0, {24}]; p = 2; Do[q = Log[2, Times @@ IntegerDigits[p]]; If[q != 0 && IntegerQ[q] && a[[q]] == 0, a[[q]] = p; Print[q, " = ", p]]; p = NextPrim[p], {n, 1, 10^9}] (* Robert G. Wilson v, Nov 08 2003 *)
For a(8): a = Map[ FromDigits, Join[{0}, #, {1}] & /@ Permutations[{2, 8, 8 }]]; Min[ Select[a, PrimeQ[ # ] & ]] (* Robert G. Wilson v, Nov 08 2003 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Nov 07 2003
EXTENSIONS
Edited, corrected and extended by Robert G. Wilson v, Nov 08 2003
a(24)-a(25) corrected by Chai Wah Wu, Aug 15 2017
STATUS
approved