OFFSET
1,2
COMMENTS
Numbers k such that k | A001003(k).
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..208
EXAMPLE
MATHEMATICA
seq[kmax_] := Module[{sc0 = 1, sc1 = 1, sc2, s = {1}}, Do[sc2 = ((6*k-3)*sc1 - (k-2)*sc0)/(k+1); If[Divisible[sc2, k], AppendTo[s, k]]; sc0 = sc1; sc1 = sc2, {k, 2, kmax}]; s]; seq[10^5]
PROG
(PARI) lista(kmax) = {my(sc0 = 1, sc1 = 1, sc2); print1(1, ", "); for(k = 2, kmax, sc2 = ((6*k-3)*sc1 - (k-2)*sc0)/(k+1); if(!(sc2 % k), print1(k, ", ")); sc0 = sc1; sc1 = sc2); }
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, May 16 2024
STATUS
approved