login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A088666 a(n) = (n^4 + 1) mod 10. 1
1, 2, 7, 2, 7, 6, 7, 2, 7, 2, 1, 2, 7, 2, 7, 6, 7, 2, 7, 2, 1, 2, 7, 2, 7, 6, 7, 2, 7, 2, 1, 2, 7, 2, 7, 6, 7, 2, 7, 2, 1, 2, 7, 2, 7, 6, 7, 2, 7, 2, 1, 2, 7, 2, 7, 6, 7, 2, 7, 2, 1, 2, 7, 2, 7, 6, 7, 2, 7, 2, 1, 2, 7, 2, 7, 6, 7, 2, 7, 2, 1, 2, 7, 2, 7, 6, 7, 2, 7, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

Periodic, with period 10. - Harvey P. Dale, Jan 31 2015

LINKS

Harvey P. Dale, Table of n, a(n) for n = 0..1000

Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 1).

FORMULA

a(n) = A010879(A002523(n)). - Michel Marcus, Feb 01 2015

MATHEMATICA

PowerMod[Range[0, 90], 4, 10]+1 (* or *) PadRight[{}, 100, {1, 2, 7, 2, 7, 6, 7, 2, 7, 2}] (* Harvey P. Dale, Jan 31 2015 *)

LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 0, 0, 1}, {1, 2, 7, 2, 7, 6, 7, 2, 7, 2}, 90] (* Ray Chandler, Aug 26 2015 *)

PROG

(MAGMA) [(n^4+1) mod 10: n in [0..100]]; // Vincenzo Librandi, Feb 01 2015

CROSSREFS

Cf. A010879 (n mod 10), A002523 (n^4+1).

Sequence in context: A262083 A181284 A010697 * A170854 A215140 A278419

Adjacent sequences:  A088663 A088664 A088665 * A088667 A088668 A088669

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard, Nov 23 2003

EXTENSIONS

Edited by Don Reble, May 03 2006

Name clarified by Vincenzo Librandi, Feb 01 2015

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 24 23:01 EDT 2019. Contains 326314 sequences. (Running on oeis4.)