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

A226818
Numbers of the form 5^j + 7^k, for j and k >= 0.
2
2, 6, 8, 12, 26, 32, 50, 54, 74, 126, 132, 174, 344, 348, 368, 468, 626, 632, 674, 968, 2402, 2406, 2426, 2526, 3026, 3126, 3132, 3174, 3468, 5526, 15626, 15632, 15674, 15968, 16808, 16812, 16832, 16932, 17432, 18026, 19932, 32432, 78126, 78132, 78174, 78468
OFFSET
1,1
MATHEMATICA
a = 5; b = 7; mx = 80000; 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. A226792 ((5^j + 7^k)/2).
Sequence in context: A325177 A263312 A346587 * A113462 A065392 A030457
KEYWORD
nonn
AUTHOR
T. D. Noe, Jun 19 2013
STATUS
approved