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 A376010 #6 Sep 11 2024 23:01:22 %S A376010 2,2,2,2,2,16,2,2,2,6,2,8,6,2,2,2,2,2,2,8,2,2,8,32,2,2,2,54,16,18,2,8, %T A376010 2,2,50,6,2,2,2,2,2,2,64,2,2,2,6,2,6,8,2,80,250,256,2,2,2,6,8,6,2,18, %U A376010 2,8,2,22,16,2,2,32,2,2,2,2,2,2,18,16,8,2,2,10,432,6,2,64,24,2,2,2,2,2,2,6,2,2,8,2,2,2,2,2,8,10,64,2,16,2,24,2,2,8,2,14,640,6 %N A376010 a(n) is the smallest distance between a pair of equal terms in the sequence s(0) = 1, s(1) = r, and s(k) = s(k-1)^2/(4*s(k-2)) mod p for k>=2, where p = prime(n) (=A000040(n)) and r is a primitive root modulo p. %C A376010 a(n) does not depend on the choice of a primitive root r modulo prime(n). %C A376010 a(n) = prime(n) - 1 iff prime(n) is in A376008. %C A376010 a(n) = 2 iff prime(n) is in A216371. %C A376010 a(n) > 2 iff prime(n) is in A268923. %Y A376010 Cf. A216371, A268923, A376008. %K A376010 nonn %O A376010 2,1 %A A376010 _Max Alekseyev_, Sep 05 2024