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.

A152526 Numbers k with property that (k^2 mod prime(k)) < 10.

This page as a plain text file.
%I A152526 #13 Jun 10 2025 01:30:27
%S A152526 1,2,3,4,5,8,13,21,27,44,104,365,5477,16787,20272,446691,1793239,
%T A152526 9806042,198017575,2830612574
%N A152526 Numbers k with property that (k^2 mod prime(k)) < 10.
%C A152526 Numbers k with property that A069547(k) < 10.
%C A152526 a(21) > 4.4*10^10, if it exists. - _Amiram Eldar_, Jul 04 2021
%e A152526 (n, A069547(n)): (1,1),(2,1),(3,4),(4,2),(5,3),(8,7),(13,5),(21,3),(27,8),(44,6),(104,5),(365,7),(5477,7),(16787,8),(20272,3),(446691,5),(1793239,8),(9806042,2),(198017575,2),(2830612574, 6).
%e A152526 198017575^2 = 9384391*prime(198017575) + 2.
%t A152526 Do[m=PowerMod[n,2,Prime[n]];If[m<10,Print[{n,m}]],{n,2*10^8}]
%Y A152526 Cf. A069547 (n^2 mod n-th prime).
%K A152526 nonn,more
%O A152526 1,2
%A A152526 _Zak Seidov_, Oct 27 2009
%E A152526 a(20) from _Amiram Eldar_, Jul 04 2021