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 A014946 #21 Jun 28 2021 04:06:05 %S A014946 1,5,25,125,625,1555,3125,7775,15625,38875,78125,194375,390625,483605, %T A014946 971875,1953125,2418025,4859375,9673655,9765625,12090125,24296875, %U A014946 48368275,48828125,60450625,120909025,121484375,150401155,241841375 %N A014946 Numbers k that divide 6^k-1. %C A014946 Includes all powers of 5. If a term such as 1555 = 5*311 occurs, so does any number of the form 5^a * 311^b for a>3. %C A014946 From _Alexander Adamchuk_, May 16 2010: (Start) %C A014946 All terms that are not powers of 5 are divisible by 5 and 311. %C A014946 Prime divisors of a(n) are {5, 311, 6221, 15551, 155501, ...}. (End) %t A014946 Select[ Range[ 5*10^7], PowerMod[6, #, # ] == 1 & ] %o A014946 (PARI) is(n)=Mod(6,n)^n==1 \\ _Charles R Greathouse IV_, Nov 04 2016 %Y A014946 Cf. A024062 (6^n-1). %K A014946 nonn %O A014946 1,2 %A A014946 _Olivier Gérard_ %E A014946 Better description from _Benoit Cloitre_, Mar 06 2002 %E A014946 Edited and extended by _Robert G. Wilson v_, Jun 18 2002 %E A014946 a(25)-a(45) from _Alexander Adamchuk_, May 16 2010