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.

A386410 Smallest k for which A385541(k) = n.

Original entry on oeis.org

1, 2, 66, 30, 1386, 858, 34650, 1287678, 6380946, 11411400, 24877650
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Jul 21 2025

Keywords

Crossrefs

Programs

  • Mathematica
    A386410[n_] := DivisorSum[n, 1 &, PowerMod[#, #, n] == PowerMod[-#, #, n] == Mod[#, n] &]; seq[lim_] := Module[{s = Array[A386410, lim]}, TakeWhile[Flatten[FirstPosition[s, #] & /@ Range[Max[s]]], !MissingQ[#] &]]; seq[10^5] (* Amiram Eldar, Jul 21 2025 *)

Extensions

a(8)-a(11) from Amiram Eldar, Jul 21 2025

A385540 Number of values of nonnegative s < n such that s^s == (-s)^s == s (mod n).

Original entry on oeis.org

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

Views

Author

Juri-Stepan Gerasimov, Jul 02 2025

Keywords

Crossrefs

Programs

Showing 1-2 of 2 results.