OFFSET
1,2
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..20000 (terms 1..4750 from N. J. A. Sloane)
MATHEMATICA
A362454[upto_]:=Module[{d=DivisorSigma[0, Range[upto]]}, Join[{1}, Table[If[First[d=Abs[Differences[d]]]==1, n, Nothing], {n, 2, upto}]]]; A362454[200] (* Paolo Xausa, May 07 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, May 05 2023
STATUS
approved