login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A107912
Numbers k that require two iterations of the sigma function to be >= 2*k.
4
2, 3, 4, 5, 7, 8, 10, 11, 14, 15, 16, 17, 19, 21, 22, 23, 26, 27, 29, 31, 32, 33, 34, 35, 38, 39, 41, 44, 45, 46, 47, 50, 51, 52, 53, 55, 57, 58, 59, 62, 63, 64, 65, 68, 69, 71, 74, 75, 76, 77, 79, 82, 83, 85, 86, 87, 89, 91, 92, 93, 94, 95, 98, 99, 101, 103, 105, 106, 107
OFFSET
1,1
LINKS
EXAMPLE
sigma(8) = 15 but sigma(sigma(8)) = 25, so 8 is in the sequence.
MATHEMATICA
ds2Q[n_]:=Module[{ds1=DivisorSigma[1, n]}, ds1<2n<=DivisorSigma[1, ds1]]; Select[Range[120], ds2Q] (* Harvey P. Dale, Feb 13 2011 *)
PROG
(PARI) is(n) = {my(m = n, nn = 2*n, c = 0); while(m < nn, m = sigma(m); c++); c == 2; } \\ Amiram Eldar, Mar 18 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Jud McCranie, May 27 2005
EXTENSIONS
Offset 1 by Michel Marcus, Apr 25 2020
STATUS
approved