OFFSET
1,2
COMMENTS
The corresponding record values in A249431 are: 1, 4, 6, 9, 10, 14, 24, ...
Larger terms could be found by searching large prime gaps: A249431(31406) = 62, and any number k such that A249431(k) >= 63 must have nextprime(k) - k > 63. - Charlie Neder, May 24 2019
PROG
(Scheme) ;; With Antti Karttunen's IntSeq-library.
(Python)
from itertools import count, islice
from collections import Counter
from math import comb
from sympy import factorint
def A249432_gen(): # generator of terms
c = -1
for n in count(0):
p = sum((Counter(factorint(comb(n, i))) for i in range(n+1)), start=Counter())
for m in count(1):
f = Counter(factorint(m))
if not f<=p:
break
p -= f
if (k:=m-1-n)>c:
yield n
c = k
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Antti Karttunen, Nov 02 2014
EXTENSIONS
a(8)-a(13) from Charlie Neder, May 24 2019
STATUS
approved
