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.

A047896 For given n, consider all 4-tuples P = (a,b,c,d) with P.P = n; let d = squared distance to the line OP from the closest point of Z^n (excluding the endpoints); sequence gives max_P d*n.

Original entry on oeis.org

1, 1, 2, 3, 1, 2, 3, 0, 2, 4, 2, 3, 3, 3, 5, 0, 2, 5, 3, 4, 5, 6, 5, 0, 6, 4, 5, 3, 5, 9, 6, 0, 6, 8, 6, 8, 9, 8, 9, 0, 5, 6, 5, 8, 9, 11, 10, 0, 6, 11, 9, 4, 10, 11, 10, 0, 14, 9, 11, 11, 9, 11, 14, 0, 14, 11, 11, 8, 11, 19, 14, 0, 9, 11, 11, 8, 10, 14, 14, 0, 14, 10, 13, 20, 21
Offset: 1

Views

Author

Keywords

Comments

A form of generalized GCD of 4 numbers.

Examples

			n=10, best P is (1,1,2,2), closest point of Z^4 to OP is (0,0,1,1) at squared distance d = 2/5, so a(10) = 10*2/5 = 4.
		

Crossrefs