# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a070712 Showing 1-1 of 1 %I A070712 #16 Dec 19 2023 14:05:15 %S A070712 0,1,4,17,16,5,6,28,2,10,20,13,24,22,19,23,8,12,9,7,18,11,21,29,3,25, %T A070712 26,15,14,27,30,0,1,4,17,16,5,6,28,2,10,20,13,24,22,19,23,8,12,9,7,18, %U A070712 11,21,29,3,25,26,15,14,27,30,0,1,4,17,16,5,6,28,2,10,20,13,24,22,19 %N A070712 a(n) = n^7 mod 31. %H A070712 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1). %t A070712 PowerMod[Range[0,100],7,31] (* _Harvey P. Dale_, Apr 23 2011 *) %o A070712 (Sage) [power_mod(n,7,31)for n in range(0, 77)] # - _Zerinvary Lajos_, Oct 29 2009 %o A070712 (PARI) a(n)=n^7%31 \\ _Charles R Greathouse IV_, Apr 06 2016 %K A070712 nonn,easy %O A070712 0,3 %A A070712 _N. J. A. Sloane_, May 13 2002 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE