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.

A307651 a(n) is the determinant of the Vandermonde matrix of the digits of n.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, -7, -6, -5, -4, -3, -2, -1, 0
Offset: 0

Views

Author

Rémy Sigrist, Apr 20 2019

Keywords

Examples

			             | 2^0 2^1 2^2 |
a(234) = det | 3^0 3^1 3^2 | = 2.
             | 4^0 4^1 4^2 |
		

Crossrefs

See A307710 for the factorial base variant.

Programs

  • PARI
    a(n) = my (d=digits(n)); matdet(matrix(#d,#d,r,c,d[r]^(c-1)))

Formula

a(n) != 0 iff n belongs to A010784.
a(n) = 0 for any n > 9876543210.