OFFSET
1,2
COMMENTS
Sequence is a permutation of the positive integers.
Terms a(65) to a(76) are 1024, 60, 4096, 72, 59049, 84, 531441, 90, 9765625, 96, 244140625, 108. - Klaus Brockhaus, Nov 13 2005
EXAMPLE
Among positive integers not among the first 4 terms of the sequence, a(5) = 9 is the lowest such that |d(a(5))-d(a(4))| = |d(9)-d(3)| = |3-2| is 1.
MATHEMATICA
Block[{a = {1}, k}, Do[k = 2; While[Nand[FreeQ[a, k], Abs[DivisorSigma[0, k] - DivisorSigma[0, a[[i]]]] == 1], k++]; AppendTo[a, k], {i, 63}]; a] (* Michael De Vlieger, Sep 11 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Nov 10 2005
EXTENSIONS
More terms from Klaus Brockhaus, Nov 11 2005
STATUS
approved