A070697 Duplicate of A070477.
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, 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, 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
Offset: 0
Keywords
Crossrefs
Cf. A008960.
Programs
-
Magma
[n^3 mod 15: n in [0..80]]; // Vincenzo Librandi, Jun 19 2014
-
Mathematica
Table[Mod[n^3, 15], {n, 0, 100}] (* Vincenzo Librandi, Jun 19 2014 *)
-
PARI
a(n)=n^7%15 \\ Charles R Greathouse IV, Apr 06 2016
Comments