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

Numbers of the form 6^j + 9^k, for j and k >= 0.
1

%I #3 Jun 19 2013 02:28:50

%S 2,7,10,15,37,45,82,87,117,217,225,297,730,735,765,945,1297,1305,1377,

%T 2025,6562,6567,6597,6777,7777,7785,7857,8505,14337,46657,46665,46737,

%U 47385,53217,59050,59055,59085,59265,60345,66825,105705,279937,279945,280017

%N Numbers of the form 6^j + 9^k, for j and k >= 0.

%H T. D. Noe, <a href="/A226830/b226830.txt">Table of n, a(n) for n = 1..10000</a>

%t 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]}]]]

%Y Cf. A004050 (2^j + 3^k), A226806-A226832 (cases to 8^j + 9^k).

%K nonn

%O 1,1

%A _T. D. Noe_, Jun 19 2013