A352337 Numbers m such that A_m(j) = 1 for some value of j, where A_m(k+1) = 2*A_m(k) - sigma(A_m(k)), sigma(m) = sum of the divisors of m, and A_m(1) = m.
1, 2, 3, 4, 5, 8, 9, 10, 11, 14, 16, 17, 21, 22, 23, 26, 27, 32, 34, 35, 38, 39, 44, 55, 57, 58, 59, 63, 64, 68, 74, 75, 77, 82, 83, 92, 93, 94, 110, 116, 119, 122, 125, 128, 129, 130, 131, 134, 136, 137, 142, 145, 152, 161, 164, 170, 171, 184, 185, 189, 194
Offset: 1
Keywords
Examples
11 is in this sequence because A_11(1) = 11, A_11(2) = 2*11-(1+11) = 10, A_11(3) = 2*10-(1+2+5+10) = 2, A_11(4) = 2*2-(2+1) = 1.
Crossrefs
Programs
-
PARI
f(n) = 2*n - sigma(n); isok(m) = while (1, m = f(m); if (m==1, return(1)); if (m<=0, return(0));); \\ Michel Marcus, Mar 13 2022
Comments