A226812 Numbers of the form 3^j + 6^k, for j and k >= 0.
2, 4, 7, 9, 10, 15, 28, 33, 37, 39, 45, 63, 82, 87, 117, 217, 219, 225, 243, 244, 249, 279, 297, 459, 730, 735, 765, 945, 1297, 1299, 1305, 1323, 1377, 1539, 2025, 2188, 2193, 2223, 2403, 3483, 6562, 6567, 6597, 6777, 7777, 7779, 7785, 7803, 7857, 8019, 8505
Offset: 1
Keywords
Links
- T. D. Noe, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
a = 3; b = 6; mx = 9000; Union[Flatten[Table[a^n + b^m, {m, 0, Log[b, mx]}, {n, 0, Log[a, mx - b^m]}]]]
Comments