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.

A167545 n^6 mod 16.

This page as a plain text file.
%I A167545 #9 Dec 07 2019 12:18:26
%S A167545 0,1,0,9,0,9,0,1,0,1,0,9,0,9,0,1,0,1,0,9,0,9,0,1,0,1,0,9,0,9,0,1,0,1,
%T A167545 0,9,0,9,0,1,0,1,0,9,0,9,0,1,0,1,0,9,0,9,0,1,0,1,0,9,0,9,0,1,0,1,0,9,
%U A167545 0,9,0,1,0,1,0,9,0,9,0,1,0,1,0,9,0,9,0,1,0,1,0,9,0,9,0,1,0,1,0,9,0,9,0,1,0
%N A167545 n^6 mod 16.
%t A167545 PowerMod[Range[0,110],6,16] (* or *) With[{nn=15},PadRight[{},8nn,{0,1,0,9,0,9,0,1}]] (* _Harvey P. Dale_, Nov 10 2011 *)
%o A167545 (Sage) [power_mod(n,6,16)for n in range(0, 105)] #
%o A167545 (PARI) a(n)=n^6%16 \\ _Charles R Greathouse IV_, Apr 06 2016
%K A167545 nonn,easy
%O A167545 0,4
%A A167545 _Zerinvary Lajos_, Nov 06 2009