OFFSET
1,1
COMMENTS
Conjecture: Any integer n > 1 not equal to 4 can be written as a sum of distinct terms of the current sequence with no summand dividing another. - Zhi-Wei Sun, May 01 2023
LINKS
T. D. Noe, Table of n, a(n) for n = 1..10000
MATHEMATICA
a = 2; b = 4; mx = 3000; Union[Flatten[Table[a^n + b^m, {m, 0, Log[b, mx]}, {n, 0, Log[a, mx - b^m]}]]]
PROG
(PARI) ispow2(n)=n>>valuation(n, 2)==1
is(n)=my(h=hammingweight(n)); if(h>2, 0, h==2, valuation(n, 2)%2==0 || logint(n, 2)%2==0, h==1 && valuation(n, 2)%2) \\ Charles R Greathouse IV, Aug 29 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Jun 19 2013
STATUS
approved