A182620 Triangle T(n,k) read by rows in which row n lists the divisors of n, written in base 2.
1, 1, 10, 1, 11, 1, 10, 100, 1, 101, 1, 10, 11, 110, 1, 111, 1, 10, 100, 1000, 1, 11, 1001, 1, 10, 101, 1010, 1, 1011, 1, 10, 11, 100, 110, 1100, 1, 1101, 1, 10, 111, 1110, 1, 11, 101, 1111, 1, 10, 100, 1000, 10000, 1, 10001, 1, 10, 11
Offset: 1
Examples
The divisors of 10 are 1, 2, 5, 10 then row 10 lists the binary numbers 1, 10, 101, 1010. Triangle begins: 1, 1, 10, 1, 11, 1, 10, 100, 1, 101, 1, 10, 11, 110, 1, 111, 1, 10, 100, 1000, 1, 11, 1001, 1, 10, 101, 1010, 1, 1011, 1, 10, 11, 100, 110, 1100,
Links
- Nathaniel Johnston, Table of n, a(n) for n = 1..7069
Programs
-
Maple
with(numtheory):for n from 1 to 10 do for d in divisors(n) do printf("%d, ",convert(d,binary)); od:printf("\n");od: # Nathaniel Johnston, Apr 19 2011
-
Mathematica
Table[FromDigits[IntegerDigits[#,2]]&/@Divisors[n],{n,20}]//Flatten (* Harvey P. Dale, May 31 2018 *)
Extensions
a(38)-a(55) from Nathaniel Johnston, Apr 19 2011
Comments