|
|
A055473
|
|
Powers of ten written in base 2.
|
|
1
|
|
|
1, 1010, 1100100, 1111101000, 10011100010000, 11000011010100000, 11110100001001000000, 100110001001011010000000, 101111101011110000100000000, 111011100110101100101000000000, 1001010100000010111110010000000000, 1011101001000011101101110100000000000
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
FromDigits /@ IntegerDigits[10^Range[0, 9], 2] (* Jayanta Basu, Jul 12 2013 *)
|
|
PROG
|
(PARI) a(n)=subst(Pol(binary(10^n)), x, 10)
(PARI) a(n) = fromdigits(binary(10^n)); \\ Michel Marcus, Apr 27 2022
(Python)
def a(n): return int(bin(10**n)[2:])
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|