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.

A067852 Numbers k that divide prime(k^2) - 1.

This page as a plain text file.
%I A067852 #18 Sep 27 2024 02:12:10
%S A067852 1,2,4,6,10,11,18,20,32,90,129,188,244,678,688,756,1081,1322,1477,
%T A067852 19758,21351,29518,43187,49978,50342,95708,182326,248253
%N A067852 Numbers k that divide prime(k^2) - 1.
%C A067852 a(29) > 3*10^5. - _Donovan Johnson_, Nov 15 2009
%C A067852 Any further terms are > 10^6. - _Lucas A. Brown_, Sep 27 2024
%H A067852 Lucas A. Brown, <a href="https://github.com/lucasaugustus/oeis/blob/main/A067852.py">Python program</a>.
%e A067852 6 divides prime(6^2)-1 = 150, so 6 is a term of the sequence.
%t A067852 Select[Range[10^4], Mod[Prime[ #^2] - 1, # ] == 0 &]
%o A067852 (PARI) isok(k) = !((prime(k^2)-1) % k); \\ _Michel Marcus_, Aug 15 2021
%Y A067852 Cf. A000040, A011757, A067851.
%K A067852 nonn,more,hard
%O A067852 1,2
%A A067852 _Joseph L. Pe_, Feb 15 2002
%E A067852 a(20)-a(28) from _Donovan Johnson_, Nov 15 2009