cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-10 of 10 results.

A213991 Number of 2 X 2 0..n matrices whose square is also a 0..n matrix.

Original entry on oeis.org

11, 24, 36, 72, 92, 126, 148, 183, 243, 291, 321, 391, 431, 461, 521, 639, 677, 764, 812, 906, 980, 1040, 1062, 1196, 1362, 1414, 1492, 1632, 1696, 1836, 1912, 2011, 2097, 2177, 2269, 2565, 2667, 2723, 2825, 3067, 3145, 3319, 3377, 3523, 3699, 3803, 3821
Offset: 1

Views

Author

R. H. Hardin, Jun 30 2012

Keywords

Comments

Row 2 of A213990.

Examples

			Some solutions for n=3:
..1..1....0..2....0..1....1..0....1..3....0..0....0..3....0..0....0..3
..0..0....1..0....1..0....0..0....0..0....0..0....0..0....0..1....1..0
		

Crossrefs

Cf. A213990.

Programs

  • Python
    # see linked program for a much faster version
    from itertools import product
    def a(n): return sum(all(k <= n for k in [a*a+b*c, a*b+b*d, c*a+d*c, c*b+d*d]) for a, b, c, d in product(range(n+1), repeat=4))
    print([a(n) for n in range(1, 31)]) # Michael S. Branicky, Nov 24 2021

A213992 Number of 3X3 0..n matrices whose square is also a 0..n matrix.

Original entry on oeis.org

172, 1003, 2546, 8168, 14030, 28328, 40370, 64679, 102377, 151301, 191708, 290679, 356931, 445149, 569583, 787170, 917169, 1190970, 1375176, 1744554, 2061684, 2413461, 2647641, 3323763, 3962721, 4502277, 5124586, 6087406, 6704266, 7973326
Offset: 1

Views

Author

R. H. Hardin Jun 30 2012

Keywords

Comments

Row 3 of A213990

Examples

			Some solutions for n=3
..0..0..2....1..2..1....0..3..0....0..2..1....0..1..3....1..1..0....0..1..0
..0..1..1....0..0..0....0..1..1....0..0..0....0..0..1....0..0..3....0..1..0
..0..1..1....1..0..0....0..2..0....0..0..1....0..0..0....0..0..0....0..1..1
		

A213993 Number of 4X4 0..n matrices whose square is also a 0..n matrix.

Original entry on oeis.org

6327, 120133, 604639, 3510112, 9131098, 29365738, 56599992, 127113628, 255379242, 499365458, 784233528, 1531915046, 2261261860, 3473439982, 5267581848, 8552671195, 11581885709, 17881607889, 23603815011, 34808081571
Offset: 1

Views

Author

R. H. Hardin Jun 30 2012

Keywords

Comments

Row 4 of A213990

Examples

			Some solutions for n=3
..0..2..1..0....1..0..2..3....0..1..1..2....0..0..1..0....1..0..0..0
..0..0..0..0....0..1..1..0....0..1..0..0....0..0..1..2....0..0..1..2
..0..3..0..0....0..0..0..0....0..0..0..0....1..0..0..0....0..0..1..3
..1..2..0..0....0..0..0..0....1..1..0..0....1..0..0..0....1..0..0..0
		

A213984 Number of n X n 0..2 matrices whose square is also a 0..2 matrix.

Original entry on oeis.org

2, 24, 1003, 120133, 35799856, 24651985100
Offset: 1

Views

Author

R. H. Hardin Jun 30 2012

Keywords

Comments

Column 2 of A213990

Examples

			Some solutions for n=3
..0..1..1....1..0..1....0..2..0....0..1..0....1..1..2....0..0..0....0..1..2
..0..0..2....0..0..2....0..0..0....0..1..2....0..0..0....0..0..0....1..0..0
..0..0..0....0..1..0....0..0..0....0..0..0....0..0..0....0..0..0....0..1..0
		

A213985 Number of n X n 0..3 matrices whose square is also a 0..3 matrix.

Original entry on oeis.org

2, 36, 2546, 604639, 421195466, 801373175814
Offset: 1

Views

Author

R. H. Hardin Jun 30 2012

Keywords

Comments

Column 3 of A213990

Examples

			Some solutions for n=3
..1..0..0....0..2..1....1..2..1....0..3..0....0..0..2....0..1..3....0..1..0
..0..0..3....0..0..0....0..0..0....0..1..1....0..1..1....0..0..1....0..1..0
..0..0..1....0..0..1....1..0..0....0..2..0....0..1..1....0..0..0....0..1..1
		

A213986 Number of n X n 0..4 matrices whose square is also a 0..4 matrix.

Original entry on oeis.org

3, 72, 8168, 3510112, 5018010431
Offset: 1

Views

Author

R. H. Hardin Jun 30 2012

Keywords

Comments

Column 4 of A213990

Examples

			Some solutions for n=3
..0..4..1....0..4..4....0..4..4....2..0..0....1..0..2....0..3..2....2..2..0
..0..0..0....0..0..0....1..0..0....0..2..2....0..2..0....0..1..0....0..0..2
..0..1..0....0..0..0....0..0..0....0..0..0....0..0..1....0..0..0....0..0..0
		

A213987 Number of n X n 0..5 matrices whose square is also a 0..5 matrix.

Original entry on oeis.org

3, 92, 14030, 9131098, 22406574462
Offset: 1

Views

Author

R. H. Hardin Jun 30 2012

Keywords

Comments

Column 5 of A213990

Examples

			Some solutions for n=3
..0..5..0....0..3..1....0..1..1....0..3..4....0..4..5....0..3..1....0..4..4
..0..0..0....0..0..0....0..0..5....1..0..0....0..0..0....0..0..0....0..0..1
..0..0..0....0..0..2....0..0..0....0..0..1....0..0..0....0..4..0....0..1..0
		

A213988 Number of n X n 0..6 matrices whose square is also a 0..6 matrix.

Original entry on oeis.org

3, 126, 28328, 29365738, 124477495732
Offset: 1

Views

Author

R. H. Hardin Jun 30 2012

Keywords

Comments

Column 6 of A213990

Examples

			Some.solutions.for.n=3
..2..0..1....0..1..0....0..6..4....0..3..6....0..4..0....0..5..0....0..0..4
..0..1..6....0..0..1....0..1..0....0..1..0....0..0..0....0..1..0....0..1..3
..0..0..0....3..3..0....0..0..0....0..0..0....1..5..0....0..3..0....0..1..1
		

A213989 Number of n X n 0..7 matrices whose square is also a 0..7 matrix.

Original entry on oeis.org

3, 148, 40370, 56599992, 361204218672
Offset: 1

Views

Author

R. H. Hardin Jun 30 2012

Keywords

Comments

Column 7 of A213990

Examples

			Some.solutions.for.n=3
..0..1..7....0..5..3....0..2..1....0..1..7....0..2..5....2..0..0....0..7..0
..0..0..5....0..0..0....0..0..0....0..0..2....0..0..0....0..1..1....0..1..0
..0..0..0....0..0..0....0..3..2....0..0..0....0..0..1....0..0..1....0..6..0
		

A213994 Number of 5X5 0..n matrices whose square is also a 0..n matrix.

Original entry on oeis.org

474286, 35799856, 421195466, 5018010431, 22406574462, 124477495732, 361204218672, 1222761036532, 3390266359632
Offset: 1

Views

Author

R. H. Hardin Jun 30 2012

Keywords

Comments

Row 5 of A213990

Examples

			Some solutions for n=3
..0..2..1..0..1....0..1..1..0..3....1..1..3..2..0....0..0..3..0..0
..0..0..0..1..0....0..0..1..0..0....0..0..0..1..3....0..1..1..3..3
..0..1..0..1..0....0..2..0..1..1....0..0..0..0..0....0..0..0..0..0
..0..0..1..0..0....0..0..1..0..0....1..0..0..0..0....1..0..0..0..0
..0..0..0..0..0....0..0..0..0..0....0..0..0..1..1....0..0..0..0..0
		
Showing 1-10 of 10 results.