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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A077255 Numbers n such that prime(n)^n == 1 (mod n). 3
2, 4, 5, 6, 8, 10, 12, 14, 16, 18, 20, 24, 27, 32, 36, 40, 42, 48, 50, 52, 54, 60, 64, 70, 72, 80, 84, 96, 100, 105, 108, 110, 114, 120, 121, 124, 125, 126, 128, 136, 144, 148, 156, 160, 162, 168, 180, 181, 182, 189, 192, 200, 210, 216, 220, 231, 234, 240, 243, 246 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

A077254(a(n)) = 1; A077256(n) = A000040(a(n))

Contains A023143.  All terms not in A023143 are in A060679. - Robert Israel, Oct 31 2016

LINKS

Robert Israel, Table of n, a(n) for n = 1..10000

EXAMPLE

prime(16)^16 mod 16 = 53^16 mod 16 = 3876269050118516845397872321 mod 16 = 1, therefore 16 is a term.

MAPLE

select(n -> ithprime(n) &^ n mod n = 1, [$1..1000]); # Robert Israel, Oct 31 2016

CROSSREFS

Cf. A000040, A023143, A060679, A077254, A077256.

Sequence in context: A062414 A249025 A065502 * A262439 A091413 A020640

Adjacent sequences:  A077252 A077253 A077254 * A077256 A077257 A077258

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller, Oct 31 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 22 01:04 EST 2019. Contains 320381 sequences. (Running on oeis4.)