OFFSET
1,2
LINKS
Jens Kruse Andersen, Table of n, a(n) for n = 1..10000
EXAMPLE
sigma(5) is 6 which is 3!, so 5 is n the sequence.
MATHEMATICA
Select[Range[4000], MemberQ[Range[8]!, DivisorSigma[1, #]] &] (* Alonso del Arte, Sep 24 2014 *)
PROG
(PARI) isok(n) = {if (n==1, return (1)); s = sigma(n); f = 1; for (k=2, s, f *= k; if (f == s, return (1)); if (f > s, return (0)); ); } \\ Michel Marcus, Mar 09 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, Sep 16 2014
STATUS
approved