OFFSET
0,4
COMMENTS
It seems that A006093 gives the positions of zeros.
LINKS
Chai Wah Wu, Table of n, a(n) for n = 0..10000 (terms 0..4096 from Antti Karttunen)
FORMULA
a(n) = A249151(n) - n.
PROG
(Python)
from itertools import count
from collections import Counter
from math import comb
from sympy import factorint
def A249431(n):
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:
return m-1-n
p -= f # Chai Wah Wu, Aug 19 2025
CROSSREFS
KEYWORD
sign
AUTHOR
Antti Karttunen, Nov 02 2014
STATUS
approved
