OFFSET
1,2
COMMENTS
The sequence becomes periodic starting from a(898)
Starting with a(1) = 2 instead of 1 yields the prefix 2, 6, 14, 22, 30, 18, 15, after which the sequence merges with the current terms starting from a(8) = 23 (which corresponds to a(6) of the main sequence).
LINKS
Adam Karol Drażyk, Table of n, a(n) for n = 1..2000
FORMULA
EXAMPLE
Starting with a(1) = 1.
Sum of proper divisors of 1 is less than 1, so 1 + 2 * d(1) = 1 + 2 * 0 = 3. So a(2) = 3.
Sum of proper divisors of 3 is less than 3, so 3 + 2 * d(3) = 3 + 2 * 2 = 7. So a(3) = 7
Sum of proper divisors of 7 is less than 7, so 7 + 2 * d(7) = 7 + 2 * 2 = 11. So a(4) = 11.
Sum of proper divisors of 11 is less than 11, so 11 + 2 * d(1) = 1 + 2 * 2 = 15. So a(5) = 15.
Sum of proper divisors of 15 is less than 15, so 15 + 2 * d(15) = 15 + 2 * 4 = 23. So a(6) = 23.
MATHEMATICA
NestWhileList[
If[DivisorSigma[1, #] <= 2*#, # + 2*DivisorSigma[0, #],
3*# - DivisorSigma[1, #]] &, 1, Unequal, All]
CROSSREFS
KEYWORD
nonn
AUTHOR
Adam Karol Drażyk, Mar 09 2026
STATUS
approved
