This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A077255 Numbers n such that prime(n)^n == 1 (mod n). 3

%I

%S 2,4,5,6,8,10,12,14,16,18,20,24,27,32,36,40,42,48,50,52,54,60,64,70,

%T 72,80,84,96,100,105,108,110,114,120,121,124,125,126,128,136,144,148,

%U 156,160,162,168,180,181,182,189,192,200,210,216,220,231,234,240,243,246

%N Numbers n such that prime(n)^n == 1 (mod n).

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

%C Contains A023143. All terms not in A023143 are in A060679. - _Robert Israel_, Oct 31 2016

%H Robert Israel, <a href="/A077255/b077255.txt">Table of n, a(n) for n = 1..10000</a>

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

%p select(n -> ithprime(n) &^ n mod n = 1, [\$1..1000]); # _Robert Israel_, Oct 31 2016

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

%K nonn

%O 1,1

%A _Reinhard Zumkeller_, Oct 31 2002

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.

Last modified March 24 19:59 EDT 2019. Contains 321448 sequences. (Running on oeis4.)