%I #7 Jun 19 2013 13:34:11
%S 2,4,10,12,18,28,36,82,84,90,108,162,244,252,324,730,732,738,756,810,
%T 972,1458,2188,2196,2268,2916,6562,6564,6570,6588,6642,6804,7290,8748,
%U 13122,19684,19692,19764,20412,26244,59050,59052,59058,59076,59130,59292,59778
%N Numbers of the form 3^j + 9^k, for j and k >= 0.
%C If every number 3^j + 9^k is considered, then there are duplicates of 10, 82, 90, 730, 738, 810, 6562, 6570, 6642, 7290, 59050, 59058, 59130, 59778, 65610,....
%H T. D. Noe, <a href="/A226827/b226827.txt">Table of n, a(n) for n = 1..10000</a>
%t a = 3; b = 9; mx = 60000; 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. A226793 ((3^j + 9^k)/2).
%K nonn
%O 1,1
%A _T. D. Noe_, Jun 19 2013
|