OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
N:= 3; # get all results <= 16^N
sort([seq(seq(seq(seq((a*(16^n-16^k)+b*(16^k-1))/15, k=1..n-1), n=2..N),
b={$0..15} minus {a}), a=1..15)]); # Robert Israel, Dec 11 2015
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved