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.

A054511 Log_b 8 where b is smallest primitive root (A001918) mod n-th prime.

This page as a plain text file.
%I A054511 #14 Jul 02 2025 16:01:59
%S A054511 3,3,10,3,6,3,12,3,38,39,8,3,3,3,3,18,24,12,3,48,6,3,30,3,63,36,90,3,
%T A054511 30,3,3,60,111,3,120,3,3,3,132,102,3,120,3,96,3,63,216,198,90,205,144,
%U A054511 46,3,192,165,52,195,3,279,66,198,3,33,240,3,3,140,226,144,3,3,20,3
%N A054511 Log_b 8 where b is smallest primitive root (A001918) mod n-th prime.
%D A054511 Tom M. Apostol, Introduction to Analytic Number Theory, Springer-Verlag, 1976, Table 10.2, pp. 216-217.
%H A054511 Amiram Eldar, <a href="/A054511/b054511.txt">Table of n, a(n) for n = 5..10000</a>
%t A054511 a[n_] := Module[{p, b, lg = 1}, b = PrimitiveRoot[p = Prime[n]]; While[ PowerMod[b, lg, p] != 8, lg++]; lg]; Array[a, 100, 5] (* _Jean-François Alcover_, Sep 03 2016 *)
%Y A054511 Cf. table in A054503.
%Y A054511 Cf. A001918, A054505, A054506, A054507, A054508, A054509, A054510, A054512, A054513.
%K A054511 nonn,easy
%O A054511 5,1
%A A054511 _N. J. A. Sloane_, Apr 09 2000
%E A054511 More terms from _James Sellers_, Apr 09 2000