editing
approved
a(n) = n^6 mod 38.
a(n) = a(n-38). - Wesley Ivan Hurt, Dec 26 2023
(Sage) [power_mod(n, 6, 38)for n in range(0, 79)] # - _)] # _Zerinvary Lajos_, Nov 07 2009
<a href="/index/Rec#order_38">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, 0, 0, 0, 1).
(Sage) [power_mod(n, 6, 38)for n in xrangerange(0, 79)] # - Zerinvary Lajos, Nov 07 2009
OEIS Server: https://oeis.org/edit/global/2837
(Sage) [power_mod(n, 6, 38)for n in xrange(0, 79)] # [From _)] # - _Zerinvary Lajos_, Nov 07 2009]
(PARI) a(n)=n^6%38 \\ Charles R Greathouse IV, Apr 06 2016
nonn,easy
(Sage) [power_mod(n, 6, 38)for n in xrange(0, 79)] # [From _Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), _, Nov 07 2009]
OEIS Server: https://oeis.org/edit/global/1991
PowerMod[Range[0, 80], 6, 38] (* Harvey P. Dale, Feb 12 2013 *)