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

%I #7 Jun 19 2013 13:38:29

%S 2,4,6,8,10,14,26,28,32,34,52,82,86,106,126,128,134,152,206,244,248,

%T 268,368,626,628,634,652,706,730,734,754,854,868,1354,2188,2192,2212,

%U 2312,2812,3126,3128,3134,3152,3206,3368,3854,5312,6562,6566,6586,6686,7186

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

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

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

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

%Y Cf. A193769, A226790 (a(n)/2 with/without repetition).

%K nonn

%O 1,1

%A _T. D. Noe_, Jun 19 2013