OFFSET
2,1
COMMENTS
A331786(n) is the number of consecutive integers in the largest such possible run.
LINKS
Diophante, A389 - Les décaXphobes (in French).
EXAMPLE
a(4) = 1002 because the A331786(4) = 6 consecutive numbers 997, 998, 999, 1000, 1001, 1002 have respectively sum of digits = 25, 26, 27, 1, 2, 3 and none is divisible by 4, and there is no smaller m < 1002 such that sum of digits of m-5, m-4, m-3, m2, m-1, m is not divisible by 4.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Bernard Schott, Mar 28 2022
EXTENSIONS
More terms from Jinyuan Wang, Mar 28 2022
STATUS
approved