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.

Previous Showing 11-11 of 11 results.

A383505 Least integer k >= 0 such that binomial(k*n,k+1) = -1 mod n, or -1 if no such integer exists.

Original entry on oeis.org

0, 1, 2, 3, 4, 341, 6, 79, 8, 19599, 10, 3937027727, 12, 2841, 22679, 47, 16, 18459448019, 18, 179, 146, 4003647, 22, 77934182399, 24, 299519, 80, 29952579, 28
Offset: 1

Views

Author

Jason Bard, May 05 2025

Keywords

Comments

Conjecture: a(A000430(n)) = A000430(n)-1.
It is not hard to see that conjecture is true. - Max Alekseyev, Jul 24 2025
Other values calculated: a(32) = 1343, a(34) = 1121, a(38) = 417.
If exists, a(30) > 10^13. - Max Alekseyev, Jul 24 2025

Examples

			a(6) = 341 because binomial(341*6, 341+1) = 5 mod 6, and no smaller nonnegative integer satisfies this.
		

Crossrefs

Programs

  • Mathematica
    f = {}; Do[k = 0; While[! Mod[Binomial[k*n, k + 1], n] == n - 1, k++]; f = Join[f, {k}], {n, 1, 11}]
  • PARI
    a(n) = my(k=0); while (binomod(k*n,k+1, n) != Mod(-1, n), k++); k; \\ Michel Marcus, May 10 2025

Formula

If p is prime, then a(p) = p-1 by Lucas' theorem. - Chai Wah Wu, Jul 21 2025

Extensions

a(12) from Chai Wah Wu, Jul 21 2025
a(18), a(22), a(24), a(26), a(28) from Max Alekseyev, Jul 24 2025
Previous Showing 11-11 of 11 results.