login
A226809
Numbers of the form 3^j + 5^k, for j and k >= 0.
3
2, 4, 6, 8, 10, 14, 26, 28, 32, 34, 52, 82, 86, 106, 126, 128, 134, 152, 206, 244, 248, 268, 368, 626, 628, 634, 652, 706, 730, 734, 754, 854, 868, 1354, 2188, 2192, 2212, 2312, 2812, 3126, 3128, 3134, 3152, 3206, 3368, 3854, 5312, 6562, 6566, 6586, 6686, 7186
OFFSET
1,1
MATHEMATICA
a = 3; b = 5; mx = 8000; 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).
Cf. A193769, A226790 (a(n)/2 with/without repetition).
Sequence in context: A177867 A338738 A345986 * A161562 A333019 A102470
KEYWORD
nonn
AUTHOR
T. D. Noe, Jun 19 2013
STATUS
approved