OFFSET
2,2
COMMENTS
a(1) equals infinity.
LINKS
Robert G. Wilson v, Table of n, a(n) for n = 2..1252
FORMULA
a(2n) = 1. a(2n+1) = A286835(n).
MATHEMATICA
factExpLst[nbr_] := factExpLst[nbr] = Table[Plus @@ Rest@ NestWhileList[ Floor[#/prm] &, nbr, # > 0 &], {prm, Prime@ Range@ PrimePi@ nbr}] (* which is the same as Transpose[ FactorInteger[ nbr!]][[2]] *); ds0[nbr_, exp_] := Times @@ (1 + exp*factExpLst[ nbr]); fQ[nbr_, exp_] := Mod[ds0[nbr, exp], ds0[nbr, 1]] == 0; f[n_] := f[n] = If[EvenQ@ n, {1}, Select[Range@ 100000, fQ[#, n] &]]; f[1] = {}; Array[ Length@ f@# &, 70]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Aug 02 2017
STATUS
approved