%I #18 Dec 27 2023 15:10:13
%S 0,1,8,12,4,5,6,13,2,9,10,11,3,7,14,0,1,8,12,4,5,6,13,2,9,10,11,3,7,
%T 14,0,1,8,12,4,5,6,13,2,9,10,11,3,7,14,0,1,8,12,4,5,6,13,2,9,10,11,3,
%U 7,14,0,1,8,12,4,5,6,13,2,9,10,11,3,7,14,0,1,8,12,4,5,6,13,2,9,10,11,3,7,14
%N Duplicate of A070477.
%C a(n)=A070477(n). [Proof: (n^7-n^3) == 0 (mod 15) is shown for n=0 to 14 explicitly. Then binomial expansion of (n+15)^7 and (n+15)^3 extend this by induction n->n+15 to all other indices.] - _R. J. Mathar_, Oct 30 2009
%t Table[Mod[n^3, 15], {n, 0, 100}] (* _Vincenzo Librandi_, Jun 19 2014 *)
%o (Magma) [n^3 mod 15: n in [0..80]]; // _Vincenzo Librandi_, Jun 19 2014
%o (PARI) a(n)=n^7%15 \\ _Charles R Greathouse IV_, Apr 06 2016
%Y Cf. A008960.
%K dead
%O 0,3
%A _N. J. A. Sloane_, May 13 2002