login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A111622
Where A111621(n)=2.
0
1, 3, 5, 7, 11, 15, 17, 19, 21, 23, 27, 31, 33, 35, 39, 43, 53, 57, 59, 61, 63, 67, 79, 95, 97, 101, 115, 127, 129, 131, 135, 137, 139, 143
OFFSET
1,2
MATHEMATICA
f[n_] := f[n] = Block[{a}, a[0] = 1; a[l_] := a[l] = Block[{k = 1, s = Sum[ a[i]*x^i, {i, 0, l - 1}]}, While[ IntegerQ[ Last[ CoefficientList[ Series[(s + k*x^l)^(1/n), {x, 0, l}], x]]] != True, k++ ]; k]; Table[a[j], {j, 0, 144}]]; g[n_, m_] := f[n][[m]]; t = Table[ n/g[n, n - 1], {n, 2, 144}]; Select[ Range[143], t[[ # ]] == 2 &]
CROSSREFS
Sequence in context: A332028 A280018 A029626 * A356065 A082418 A319899
KEYWORD
nonn
AUTHOR
STATUS
approved