OFFSET
1,1
COMMENTS
The corresponding values of A146288(k) are 4, 8, 12, 16, 48, 48, 96, 80, 80, ... .
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..4390
MATHEMATICA
With[{lps = Cases[Import["https://oeis.org/A025487/b025487.txt", "Table"], {_, _}][[;; , 2]]}, Position[Differences[DivisorSigma[0, lps]], 0] // Flatten]
PROG
(Python)
from itertools import islice
from heapq import heappop, heappush
from sympy import divisor_count, factorint, prevprime, nextprime
def A375195_gen(): # generator of terms
d, h, hset = 0, [1], {1}
for c in count(0):
m = heappop(h)
e = divisor_count(m)
if d == e:
yield c
ps = factorint(m)
for p in ps:
if p == 2 or ps[prevprime(p)]>ps[p]:
mp = m*p
if mp not in hset:
heappush(h, mp)
hset.add(mp)
mp = m*nextprime(max(ps.keys(), default=1))
if mp not in hset:
heappush(h, mp)
hset.add(mp)
d = e
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Aug 04 2024
STATUS
approved
