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!)
A180061 Numbers n such that (2^(2^n mod n) mod n)=4. 1

%I #16 Sep 08 2016 09:56:48

%S 5,6,7,9,11,12,13,17,19,21,23,29,31,37,41,43,47,53,59,61,63,67,71,73,

%T 79,83,89,97,101,103,107,109,113,121,127,131,133,137,139,149,151,157,

%U 163,167,172,173,179,181,190,191,193,196,197,199,211

%N Numbers n such that (2^(2^n mod n) mod n)=4.

%C The composite terms in this sequence start 6, 9, 12, 21, 63, 121, 133, 172, 190, 196,.. - _R. J. Mathar_, Jan 14 2011

%H Harvey P. Dale, <a href="/A180061/b180061.txt">Table of n, a(n) for n = 1..1000</a>

%F A180060(a(n))=4.

%t Select[Range[300],PowerMod[2,PowerMod[2,#,#],#]==4&] (* _Harvey P. Dale_, Sep 08 2016 *)

%o (PARI) s=[]; for(n=1, 1000, if((2^(2^n%n)%n)==4, s=concat(s, n))); s \\ _Colin Barker_, Jun 27 2014

%Y Cf. A000040, A000079, A179976, A180060.

%K nonn

%O 1,1

%A _Juri-Stepan Gerasimov_, Jan 14 2011

%E Terms corrected by _R. J. Mathar_, Jan 14 2011

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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)