login
a(n) = n^6 mod 35.
0

%I #20 Oct 12 2024 14:47:16

%S 0,1,29,29,1,15,1,14,29,1,15,1,29,29,21,15,1,29,29,1,15,21,29,29,1,15,

%T 1,29,14,1,15,1,29,29,1,0,1,29,29,1,15,1,14,29,1,15,1,29,29,21,15,1,

%U 29,29,1,15,21,29,29,1,15,1,29,14,1,15,1,29,29,1,0,1,29,29,1,15,1,14,29,1

%N a(n) = n^6 mod 35.

%H <a href="/index/Rec#order_35">Index entries for linear recurrences with constant coefficients</a>, 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,0,0,0,0,1).

%F a(n) = a(n-35). - _Wesley Ivan Hurt_, Dec 26 2023

%t Table[PowerMod[n,6,35],{n,0,79}] (* _Paul F. Marrero Romero_, Oct 11 2024 *)

%o (Sage) [power_mod(n,6,35)for n in range(0, 80)] # _Zerinvary Lajos_, Nov 07 2009

%o (PARI) a(n)=n^6%35 \\ _Charles R Greathouse IV_, Apr 06 2016

%Y Cf. A001014.

%K nonn,easy

%O 0,3

%A _N. J. A. Sloane_, May 13 2002