A072868 Numbers k such that sigma(sigma(k) - k) = k.
4, 8, 32, 128, 8192, 131072, 524288, 2147483648, 2305843009213693952, 618970019642690137449562112
Offset: 1
Crossrefs
Cf. A000043.
Programs
-
Mathematica
f[n_]:=Plus@@Divisors[Plus@@Divisors[n]-n]==n; lst={};Do[If[f[n],AppendTo[lst,n]],{n,9!}];lst (* Vladimir Joseph Stephan Orlovsky, May 14 2010 *) Select[Range[550000],DivisorSigma[1,DivisorSigma[1,#]-#]==#&] (* The program generates the first 7 terms of the sequence. Increasing the Range constant will generate more but it will run a long time. *) (* Harvey P. Dale, May 08 2018 *)
-
PARI
isok(n) = sigma(sigma(n)-n) == n; \\ Michel Marcus, May 06 2016
Extensions
a(6) inserted by Jaroslav Krizek, Jun 29 2012
Comments