OFFSET
1,1
COMMENTS
No more terms below 4*10^10.
EXAMPLE
6 is a term since A331107(6) = 12 = 2*6.
MATHEMATICA
fb[n_] := Block[{k = Ceiling[Log[GoldenRatio, n*Sqrt[5]]], t = n, fr = {}}, While[k > 1, If[t >= Fibonacci[k], AppendTo[fr, 1]; t = t - Fibonacci[k], AppendTo[fr, 0]]; k--]; Fibonacci[1 + Position[Reverse@fr, _?(# == 1 &)]]]; f[p_, e_] := p^fb[e]; zsigma[1] = 1; zsigma[n_] := Times @@ (Flatten@(f @@@ FactorInteger[n]) + 1); zPerfectQ[n_] := zsigma[n] == 2 n; Select[Range[10^4], zPerfectQ] (* after Robert G. Wilson v at A014417 *)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Amiram Eldar, Jan 09 2020
STATUS
approved