OFFSET
1,1
COMMENTS
All terms are divisible by 3. - Robert Israel, Apr 01 2020
LINKS
Robert Israel, Table of n, a(n) for n = 1..5000
EXAMPLE
78 is a term of the sequence because 78 in base 4 is 1032, its complement in base 4 is 2301 and the digit reverse is again 1032 that is 78 in base 10.
MAPLE
P:=proc(q, h) local a, b, k, n; for n from 1 to q do a:=convert(n, base, h); b:=0;
for k from 1 to nops(a) do a[k]:=h-1-a[k]; b:=h*b+a[k]; od; if b=n then print(n); fi; od; end: P(10^2, 4);
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Paolo P. Lava, Apr 03 2017
STATUS
approved