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”).

A051205
Numbers of the form x^2-3^y >= 0.
3
0, 1, 3, 6, 7, 8, 9, 13, 15, 16, 19, 22, 24, 27, 33, 35, 37, 40, 46, 48, 54, 55, 61, 63, 72, 73, 78, 80, 81, 88, 91, 94, 97, 99, 112, 115, 117, 118, 120, 135, 141, 142, 143, 144, 157, 160, 163, 166, 168, 169, 171, 175, 187, 193, 195, 198, 208, 214, 216, 222, 224
OFFSET
1,3
MATHEMATICA
max = 300; Clear[f]; f[m_] := f[m] = Select[Table[x^2 - 3^y, {y, 0, m}, {x, Floor[3^(y/2)], Ceiling[Sqrt[3^y + max]]}] // Flatten // Union, 0 <= # <= max &]; f[1]; f[m = 2]; While[f[m] != f[m - 1], m++]; Print["m = ", m]; A051205 = f[m] (* Jean-François Alcover, May 13 2017 *)
CROSSREFS
Sequence in context: A376588 A053030 A189822 * A168114 A220656 A324143
KEYWORD
nonn
STATUS
approved