OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
MAPLE
f:= proc(n) local A;
A:= convert(n-1, binary);
10^length(A)*convert(n, binary)+A
end proc:
f(1):= 10:
map(f, [$1..100]); # Robert Israel, Aug 12 2018
PROG
(PARI) zbinary(n) = if (n, binary(n), [0]);
a(n) = fromdigits(concat(zbinary(n), zbinary(n-1))); \\ Michel Marcus, Aug 12 2018
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Aug 11 2018
EXTENSIONS
More terms from Robert Israel, Aug 12 2018
STATUS
approved