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

A226830
Numbers of the form 6^j + 9^k, for j and k >= 0.
1
2, 7, 10, 15, 37, 45, 82, 87, 117, 217, 225, 297, 730, 735, 765, 945, 1297, 1305, 1377, 2025, 6562, 6567, 6597, 6777, 7777, 7785, 7857, 8505, 14337, 46657, 46665, 46737, 47385, 53217, 59050, 59055, 59085, 59265, 60345, 66825, 105705, 279937, 279945, 280017
OFFSET
1,1
MATHEMATICA
a = 6; b = 9; mx = 300000; Union[Flatten[Table[a^n + b^m, {m, 0, Log[b, mx]}, {n, 0, Log[a, mx - b^m]}]]]
CROSSREFS
Cf. A004050 (2^j + 3^k), A226806-A226832 (cases to 8^j + 9^k).
Sequence in context: A351388 A246128 A343990 * A059316 A295825 A140115
KEYWORD
nonn
AUTHOR
T. D. Noe, Jun 19 2013
STATUS
approved