OFFSET
1,4
LINKS
Felix Huber, Table of n, a(n) for n = 1..10000
EXAMPLE
The divisors of A259366(10) = 42 are {1, 2, 3, 6, 7, 14, 21, 42}. The consecutive differences are [1, 1, 3, 1, 7, 7, 21]. Among these, the values 1 and 7 occur more than once, so a(10) = 2.
MAPLE
A392080 := proc(n) local a, d, i, k, l; option remember; a := 0; if n = 1 then [6, 2]; else for k from A392080(n - 1)[1] + 1 do d := NumberTheory:-Divisors(k); l := [seq(d[i + 1] - d[i], i = 1 .. nops(d) - 1)]; a := nops(select(x -> 1 < x, [seq(numboccur(i, l), i = 1 .. max(l))])); if 0 < a then return [k, a]; end if; end do; end if; end proc: seq(A392080(n)[2], n = 1 .. 88);
MATHEMATICA
Table[If[DuplicateFreeQ[#], Nothing, Count[Tally[#][[All, 2]], _?(#>1 &)]] & [Differences[Divisors[k]]], {k, 300}] (* Paolo Xausa, Jan 16 2026 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Felix Huber, Jan 09 2026
STATUS
approved
