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

A088922 Consider the n X n matrix with entries (i*j mod n), where i,j=0..n-1; a(n) = rank of this matrix over the real numbers.

Original entry on oeis.org

0, 1, 2, 3, 3, 5, 4, 6, 6, 7, 6, 10, 7, 9, 10, 11, 9, 13, 10, 14, 13, 13, 12, 18, 14, 15, 16, 18, 15, 21, 16, 20, 19, 19, 20, 25, 19, 21, 22, 26, 21, 27, 22, 26, 27, 25, 24, 32, 26, 29, 28, 30, 27, 33, 30, 34, 31, 31, 30, 40, 31, 33, 36, 37, 35, 39, 34, 38, 37, 41, 36, 46, 37, 39, 42, 42, 41, 45, 40, 48, 44, 43, 42, 52, 45, 45, 46, 50, 45, 55, 48, 50, 49, 49, 50, 58, 49, 53, 54, 57
Offset: 1

Views

Author

Max Alekseyev, Dec 01 2003

Keywords

Comments

Possibly related to Maillet's determinants.

Examples

			From _Alexander Adam_, Nov 10 2012: (Start)
a(2^m) = 2^(m-1) + m - 1.
Let p >= 3 be a prime number. Then a(p^m) = (p^m + 1) / 2 + m - 1.
a(625000) = a(2^3*5^7) = 2^2*5^7 + 4 * 8 - 2 = 312530. (End)
		

Crossrefs

Programs

  • Mathematica
    a[n_] := MatrixRank[Table[Table[Mod[i * j, n], {j, 0, n - 1}], {i, 0, n - 1}]]; Array[a,100] (* Alexander Adam, Nov 10 2012 *)
  • PARI
    a(n) = matrank(matrix(n,n,i,j,(i*j)%n))

Formula

Let n = Prod_{i>0} p_i^{m_i} be the prime factorization of n. Then a(n) = floor((n + 1)/2) + Prod_{i>0} (m_i + 1) - 2. - Alexander Adam, Nov 10 2012
a(n) = A000005(n) + A110654(n) - 2.

A218322 Maillet determinant for prime(n).

Original entry on oeis.org

1, -5, 49, 14641, -371293, -410338673, 16983563041, 124279533640947, -82085029703668817512, 6812495416987166882889, -16890053810563300749953435929, -531714676529925182191868570093681, 98548851401030959947062957685234211, 4247541973383735863138308138153477847255, -62534081783371829558502906501683809565833328077, 1581923629964045589238110056212521488781448927448053161
Offset: 2

Views

Author

Max Alekseyev, Oct 25 2012

Keywords

Crossrefs

Programs

  • PARI
    a(n) = p=prime(n); matdet(matrix((p-1)/2,(p-1)/2,i,j,(i/j)%p))

Formula

a(n) = (-p)^((p-3)/2) * h^-(p) = (-1)^((p-3)/2) * A203411(n) * A000927(n), where p=A000040(n).
Showing 1-2 of 2 results.