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!)
A262207 a(n) = prime(n)^n mod n^n. 1
0, 1, 17, 97, 1676, 21241, 214259, 5020449, 34808102, 7233300201, 46070142226, 7806783217105, 165239209697109, 1608006723911113, 48560388990668468, 4867006141797699265, 530779430908845468654, 18442832496573633213385 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Inspired by A002380, A067602, A138654.
a(3), a(4), a(7) and a(48) are prime numbers.
LINKS
FORMULA
a(n) = A062457(n) mod A000312(n). - Michel Marcus, Sep 15 2015
EXAMPLE
For n = 1, a(n) = prime(1)^1 mod 1^1 = 2^1 mod 1 = 2 mod 1 = 0.
For n = 2, a(n) = prime(2)^2 mod 2^2 = 3^2 mod 4 = 9 mod 4 = 1.
For n = 3, a(n) = prime(3)^3 mod 3^3 = 5^3 mod 27 = 125 mod 27 = 17.
MATHEMATICA
Table[Mod[Prime[n]^n, n^n], {n, 18}] (* Michael De Vlieger, Sep 15 2015 *)
PROG
(PARI) a(n) = (prime(n)^n) % (n^n);
vector(18, n, a(n))
CROSSREFS
Sequence in context: A184327 A331877 A358572 * A282997 A231667 A044268
KEYWORD
nonn,easy
AUTHOR
Altug Alkan, Sep 15 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 19 10:32 EDT 2024. Contains 374392 sequences. (Running on oeis4.)