|
|
A001737
|
|
Squares written in base 2.
|
|
11
|
|
|
0, 1, 100, 1001, 10000, 11001, 100100, 110001, 1000000, 1010001, 1100100, 1111001, 10010000, 10101001, 11000100, 11100001, 100000000, 100100001, 101000100, 101101001, 110010000, 110111001, 111100100, 1000010001, 1001000000, 1001110001, 1010100100, 1011011001
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
Table[FromDigits[IntegerDigits[n^2, 2]], {n, 0, 50}] (* T. D. Noe, Aug 10 2012 *)
|
|
PROG
|
(Python) print([int(bin(k**2)[2:]) for k in range(0, 28)]) # Karl-Heinz Hofmann, Feb 01 2022
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|