The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A070688 a(n) = n^6 mod 48. 0
0, 1, 16, 9, 16, 25, 0, 1, 16, 33, 16, 25, 0, 25, 16, 33, 16, 1, 0, 25, 16, 9, 16, 1, 0, 1, 16, 9, 16, 25, 0, 1, 16, 33, 16, 25, 0, 25, 16, 33, 16, 1, 0, 25, 16, 9, 16, 1, 0, 1, 16, 9, 16, 25, 0, 1, 16, 33, 16, 25, 0, 25, 16, 33, 16, 1, 0, 25, 16, 9, 16, 1, 0, 1, 16, 9, 16, 25, 0, 1, 16 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,1,0,0,0,0,0,-1,0,0,0,0,0,1).
FORMULA
From Chai Wah Wu, Sep 02 2020: (Start)
a(n) = a(n-6) - a(n-12) + a(n-18) for n > 17.
G.f.: -x*(x^16 + 16*x^15 + 9*x^14 + 16*x^13 + 25*x^12 + 24*x^8 + 25*x^4 + 16*x^3 + 9*x^2 + 16*x + 1)/(x^18 - x^12 + x^6 - 1). (End)
Period 24: repeat [0, 1, 16, 9, 16, 25, 0, 1, 16, 33, 16, 25, 0, 25, 16, 33, 16, 1, 0, 25, 16, 9, 16, 1]. - Alois P. Heinz, Sep 02 2020
MATHEMATICA
PowerMod[Range[0, 120], 6, 48] (* Harvey P. Dale, Dec 12 2023 *)
PROG
(PARI) a(n)=n^6%48 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A302518 A070567 A257796 * A281719 A103167 A303317
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 9 07:31 EDT 2024. Contains 373229 sequences. (Running on oeis4.)