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!)
A246864 (n^4+1) mod prime(n). 1
0, 2, 2, 5, 10, 10, 5, 12, 7, 25, 10, 17, 26, 18, 7, 29, 37, 57, 7, 38, 10, 22, 49, 74, 7, 53, 65, 49, 90, 17, 105, 53, 50, 130, 47, 44, 53, 41, 158, 120, 68, 126, 93, 37, 71, 156, 96, 125, 137, 133, 47, 129, 142, 181, 141, 138, 173, 79, 274, 0, 67, 54, 178, 11 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Let p be a prime: n^4+1 == 0 (mod p) if p = 2 or p == 1 (mod 8).
LINKS
MATHEMATICA
Table[Mod[n^4 + 1, Prime[n]], {n, 70}]
PROG
(Magma) [(n^4+1) mod NthPrime(n): n in [1..70]];
(PARI) a(n)=(n^4+1)%prime(n) \\ Edward Jiang, Sep 05 2014
CROSSREFS
Cf. A000040.
Sequence in context: A273964 A223062 A208788 * A262924 A331540 A329676
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Sep 05 2014
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 July 19 05:59 EDT 2024. Contains 374389 sequences. (Running on oeis4.)