OFFSET
1,2
COMMENTS
MATHEMATICA
{u=1, ta=Table[0, {25}]}; Do[s=Apply[Plus, IntegerDigits[n]]; s1=Length[IntegerDigits[n]]; If[Equal[s1, DivisorSigma[0, n]], Print[n]; ta[[u]]=n; u=u+1], {n, 1, 100}]
Select[Range[100], !CompositeQ[#]&&DivisorSigma[0, #]==IntegerLength[#]&] (* Harvey P. Dale, Jan 29 2024 *)
PROG
(PARI) print1(1); forprime(p=9, 99, print1(", "p)) \\ Charles R Greathouse IV, Apr 27, 2011
CROSSREFS
KEYWORD
base,fini,full,nonn,easy
AUTHOR
Labos Elemer, Jun 25 2004
STATUS
approved