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!)
A276671 Positive integers k such that 3^k == 2 (mod k). 13

%I #31 Oct 05 2021 21:18:57

%S 1,2929,9742277641,23341869101,15092205901438895,16311037042239935

%N Positive integers k such that 3^k == 2 (mod k).

%C No other terms below 2*10^16. A larger term: 31744873758348589012852097851.

%t Join[{1}, Select[Range[10000], PowerMod[3, #, #] == 2 &]] (* _Alonso del Arte_, Oct 11 2016 *)

%o (PARI) isok(n) = Mod(3, n)^n == Mod(2, n); \\ _Dmitry Ezhov_, Sep 28 2016

%Y Cf. A015973, A067945, A015949, A055686, A242865, A234535, A234536, A050259.

%K nonn,more,hard

%O 1,2

%A _Max Alekseyev_, Oct 05 2016

%E Order of terms corrected by _Felix Fröhlich_, Oct 06 2016

%E a(5)-a(6) from _Sergey Paramonov_, Oct 03 2021

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 April 19 16:52 EDT 2024. Contains 371794 sequences. (Running on oeis4.)