OFFSET
1,1
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..170 (terms < 10^13)
FORMULA
a(n) = A073500(n)+1 - Alex Ratushnyak, Jul 06 2013.
EXAMPLE
sigma(955) = 1152 sigma(954) = 2106 sigma(953) = 954 and 1152 = 2106 - 954; hence 955 is a term of the sequence.
MATHEMATICA
Select[Range[3, 10^5], DivisorSigma[1, # ] == DivisorSigma[1, # - 1] - DivisorSigma[1, # - 2] &]
Flatten[Position[Partition[DivisorSigma[1, Range[37*10^5]], 3, 1], _?(#[[3]]==#[[2]]-#[[1]]&), 1, Heads->False]]+2 (* The program generates the first 16 terms of the sequence. *) (* Harvey P. Dale, May 23 2025 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Joseph L. Pe, Oct 18 2002
EXTENSIONS
a(6)-a(26) from Donovan Johnson, Feb 01 2009
STATUS
approved
