OFFSET
1,2
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..38
EXAMPLE
21 is a term since A002426(21) = 1105350729 = 21 * 52635749 is divisible by 21.
MATHEMATICA
Select[Range[1000], Divisible[4^#*JacobiP[#, -# - 1/2, -# - 1/2, -1/2], #] &]
PROG
(PARI) lista(kmax) = {my(ct0 = 1, ct1 = 1, ct2); print1("1, "); for(k = 2, kmax, ct2 = ((2*k-1)*ct1 + 3*(k-1)*ct0)/k; if(!(ct2 % k), print1(k, ", ")); ct0 = ct1; ct1 = ct2); }
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, May 16 2024
STATUS
approved