OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
269 is a member since 2 is divisible by 1 and 26 is divisible by 2.
MATHEMATICA
kdsQ[n_]:=With[{idn=IntegerDigits[n]}, Union[Table[Mod[FromDigits[Take[idn, k]], k], {k, Length[idn]-1}]]=={0}]; Join[{2, 3, 5, 7}, Select[Prime[Range[100]], kdsQ]] (* Harvey P. Dale, Dec 16 2025 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Gaurav Kumar, Aug 28 2009
STATUS
approved
