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.
%I A054510 #15 Jul 02 2025 16:01:59 %S A054510 7,11,11,6,19,12,28,32,39,35,32,14,18,49,23,1,33,53,8,81,31,9,4,43,40, %T A054510 8,115,96,42,50,142,67,147,73,118,95,171,15,171,104,146,142,139,210, %U A054510 154,107,222,1,1,248,85,79,19,142,22,182,278,213,116,140,123,50,81,318 %N A054510 Log_b 7 where b is smallest primitive root (A001918) mod n-th prime. %D A054510 Tom M. Apostol, Introduction to Analytic Number Theory, Springer-Verlag, 1976, Table 10.2, pp. 216-217. %H A054510 Amiram Eldar, <a href="/A054510/b054510.txt">Table of n, a(n) for n = 5..10000</a> %t A054510 a[n_] := Module[{p, b, lg = 1}, b = PrimitiveRoot[p = Prime[n]]; While[ PowerMod[b, lg, p] != 7, lg++]; lg]; Array[a, 100, 5] (* _Jean-François Alcover_, Sep 03 2016 *) %Y A054510 Cf. table in A054503. %Y A054510 Cf. A001918, A054505, A054506, A054507, A054508, A054509, A054511, A054512, A054513. %K A054510 nonn,easy %O A054510 5,1 %A A054510 _N. J. A. Sloane_, Apr 09 2000 %E A054510 More terms from _James Sellers_, Apr 09 2000