# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/
Search: id:a070700
Showing 1-1 of 1
%I A070700 #19 Dec 19 2023 13:54:00
%S A070700 0,1,2,9,4,5,0,7,8,9,10,11,0,13,14,9,16,17,0,1,2,9,4,5,0,7,8,9,10,11,
%T A070700 0,13,14,9,16,17,0,1,2,9,4,5,0,7,8,9,10,11,0,13,14,9,16,17,0,1,2,9,4,
%U A070700 5,0,7,8,9,10,11,0,13,14,9,16,17,0,1,2,9,4,5,0,7,8,9,10,11,0,13,14,9,16,17
%N A070700 a(n) = n^7 mod 18.
%H A070700 Vincenzo Librandi, Table of n, a(n) for n = 0..1000
%H A070700 Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
%t A070700 PowerMod[Range[0, 100], 7, 18] (* _Vincenzo Librandi_, Jun 17 2016 *)
%o A070700 (Sage) [power_mod(n,7,18) for n in range(90)] # _Zerinvary Lajos_, Oct 28 2009
%o A070700 (PARI) a(n)=n^7%18 \\ _Charles R Greathouse IV_, Apr 06 2016
%o A070700 (Magma) [Modexp(n, 7, 18): n in [0..80]]; // _Vincenzo Librandi_, Jun 17 2016
%K A070700 nonn,easy
%O A070700 0,3
%A A070700 _N. J. A. Sloane_, May 13 2002
# Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE