|
|
A063010
|
|
Carryless binary square of n; also Moser-de Bruijn sequence written in binary.
|
|
4
|
|
|
0, 1, 100, 101, 10000, 10001, 10100, 10101, 1000000, 1000001, 1000100, 1000101, 1010000, 1010001, 1010100, 1010101, 100000000, 100000001, 100000100, 100000101, 100010000, 100010001, 100010100, 100010101, 101000000, 101000001
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
Numbers that are sums of distinct powers of 100. - David Wasserman, Feb 26 2008
|
|
LINKS
|
|
|
FORMULA
|
a(n) = A062033(n)/10, i.e., with final zero removed.
G.f.: (1/(1 - x))*Sum_{k>=0} 100^k*x^(2^k)/(1 + x^(2^k)). - Ilya Gutkovskiy, Jun 04 2017
|
|
EXAMPLE
|
a(11)=1000101, since 11 in binary is 1011 and binary carryless sum of 1011000, 0, 10110 and 1011 is 1000101.
|
|
MATHEMATICA
|
With[{k = 100}, Map[FromDigits[#, k] &, Tuples[{0, 1}, 5]]] (* Michael De Vlieger, Oct 29 2022 *)
|
|
PROG
|
|
|
CROSSREFS
|
Cf. Moser-de Bruijn sequence A000695, carryless decimal squares A059729, pre-carry binary squares A063009.
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|