login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

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

%I #3 Jun 19 2013 02:26:04

%S 2,6,7,11,26,31,37,41,61,126,131,161,217,221,241,341,626,631,661,841,

%T 1297,1301,1321,1421,1921,3126,3131,3161,3341,4421,7777,7781,7801,

%U 7901,8401,10901,15626,15631,15661,15841,16921,23401,46657,46661,46681,46781,47281

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

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

%t a = 5; b = 6; mx = 50000; 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