Pisano Periods 2

Problem Statement

For every positive integer $n$ the Fibonacci sequence modulo $n$ is periodic. The period depends on the value of $n$. This period is called the Pisano period for $n$, often shortened to $\pi(n)$.

Define $M(p)$ as the largest integer $n$ such that $\pi(n) = p$, and define $M(p) = 1$ if there is no such $n$.
For example, there are three values of $n$ for which $\pi(n)$ equals $18$: $19, 38, 76$. Therefore $M(18) = 76$.

Let the sum function $S(n)$ be: $$S(n)=\sum_{p = 1}^{n} M(p).$$ You are given: $S(10)=26$.

Find $S(11^N) \bmod 1\,234\,567\,891$.

Submit Answers

You need to submit in the format: "N:problem(N)", possibly with multiple values at once, separated by commas, with $N$ between $1$ and $100$.

Top Users

🥇 shs10978
100.00 (100)
🥈 icy
100.00 (100)
🥉 liuguangxi
100.00 (100)

Data

Stats

Your submissions will appear here

Recent Submissions

1
liuguangxi
$g(100)$, $9$ digits 1 month, 2 weeks ago
2
liuguangxi
$g(99)$, $9$ digits 1 month, 2 weeks ago
3
liuguangxi
$g(98)$, $9$ digits 1 month, 2 weeks ago
4
liuguangxi
$g(97)$, $9$ digits 1 month, 2 weeks ago
5
liuguangxi
$g(96)$, $9$ digits 1 month, 2 weeks ago