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-1 of 1 results.

A307710 a(n) is the determinant of the Vandermonde matrix of the digits of n in factorial base.

Original entry on oeis.org

1, 1, -1, 0, -2, -1, 0, 0, 0, 0, 2, 0, 0, 2, -2, 0, 0, 0, 0, 6, -6, 0, -6, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, -12, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0
Offset: 0

Views

Author

Rémy Sigrist, Apr 23 2019

Keywords

Comments

This sequence is a variant of A307651, and has infinitely many nonzero terms.

Examples

			                                    | 3^0 3^1 2^2 |
a(22) = a(3*3! + 2*2! + 0*1!) = det | 2^0 2^1 2^2 | = -6.
                                    | 0^0 0^1 0^2 |
		

Crossrefs

See A307651 for the decimal variant.

Programs

  • PARI
    a(n) = my (d=[]); for (r=2, oo, if (n, d=concat(n%r,d); n\=r, return (matdet(matrix(#d, #d, r, c, d[r]^(c-1))))))

Formula

a(n) != 0 iff n belongs to A321682.
Showing 1-1 of 1 results.