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.

A372525 Composite numbers k that divide A000296(k) + (-1)^k.

Original entry on oeis.org

6, 1991, 5459, 17391
Offset: 1

Views

Author

Amiram Eldar, Jun 07 2024

Keywords

Comments

Equivalently, composite numbers k such that Sum_{i=1..k-1} (-1)^i * Bell(i) == 1 (mod k), where Bell(i) = A000110(i).
The congruence holds for all the primes. This is a special case of Sun and Zagier's (2011) Theorem 1.1, when m = 1.
a(5) > 56000, if it exists.

Crossrefs

Programs

  • Mathematica
    f[k_] := f[k] = Sum[Binomial[k-1, i] * f[k-i-1], {i, 1, k-1}]; f[0] = 1; Select[Range[2000], CompositeQ[#] && Divisible[f[#] + (-1)^# , #] &]