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 A066438 #22 Dec 07 2024 13:40:17 %S A066438 0,1,1,1,2,1,0,1,1,9,7,1,7,7,13,1,7,1,7,1,7,5,7,1,7,23,1,21,7,19,7,1, %T A066438 13,15,28,1,7,11,31,1,7,7,7,25,37,3,7,1,0,49,37,9,7,1,43,49,1,49,7,1, %U A066438 7,49,28,1,37,37,7,21,67,49,7,1,7,49,43,45,28,25,7,1 %N A066438 a(n) = 7^n mod n. %H A066438 Harry J. Smith and Seiichi Manyama, <a href="/A066438/b066438.txt">Table of n, a(n) for n = 1..10000</a> (first 1000 terms from Harry J. Smith) %p A066438 seq(irem(7^n,n),n=1..80); # _Zerinvary Lajos_, Apr 20 2008 %t A066438 Table[PowerMod[7, n, n], {n, 80} ] %o A066438 (PARI) a(n) = { lift(Mod(7, n)^n) } \\ _Harry J. Smith_, Feb 14 2010 %Y A066438 Cf. k^n mod n; A015910 (k=2), A066601 (k=3), A066602 (k=4), A066603 (k=5), A066604 (k=6), this sequence (k=7), A066439 (k=8), A066440 (k=9), A056969 (k=10), A066441 (k=11), A066442 (k=12), A116609 (k=13). %K A066438 nonn %O A066438 1,5 %A A066438 _Robert G. Wilson v_, Dec 27 2001