OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
Mathematics StackExchange, Ordered triple condition
EXAMPLE
a(3) = 16 is a term because 16 = 2*2^1+1*2^2+2*2^2 (also 3*2^1+1*2^1+1*2^3).
MAPLE
N:= 1000: # for terms <= N
R:= NULL:
for a from 1 while 2^a < N do
for b from 1 to a while a*2^b + 2*b + 2^a <= N do
for c from 1 to a do
v:= a*2^b + b*2^c + c*2^a;
if v > N then break fi;
R:= R, v
od od od:
sort(convert({R}, list));
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Israel, Jan 20 2021
STATUS
approved