OFFSET
1,1
COMMENTS
Note that [ 24*k-1 == 0 (mod 7^3) ] iff [ k == 243 (mod 7^3) ].
Related to a general congruence of Ramanujan about the partition function. See A340757.
FORMULA
EXAMPLE
929 is a term because A000041(929) = 1378663636778122744608506419570 = 2 * 5 * 7^3 * 17 * 19 * 139 * 8952552536856941584067 and 24 * 929 - 1 = 5 * 7^3 * 13.
MATHEMATICA
Select[243 + 343*Range[100], IntegerExponent[PartitionsP[#], 7] >= IntegerExponent[24*# - 1, 7] &] (* Amiram Eldar, Feb 05 2021 *)
PROG
(PARI) seq(x) = {my( k = -100, N=0); while(N < x, k += 343;
if(valuation(numbpart(k), 7) >= valuation(24*k-1, 7), print1(k", "); N++)) };
seq(100); \\ Gives the first 100 terms of the sequence.
CROSSREFS
KEYWORD
nonn
AUTHOR
Washington Bomfim, Feb 01 2021
STATUS
approved