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

%I #7 Mar 30 2012 18:52:40

%S 1,4,8,16,28,32,64,112,128,256,341,448,496,512,561,645,1016,1024,1105,

%T 1288,1387,1729,1792,1905,2044,2047,2048,2416,2465,2701,2821,3277,

%U 4033,4096,4369,4371,4672,4681,4984,5461,6601,7168,7936,7957,8128,8192,8321,8481,8911

%N Nonprimes such that (2^(n-1) mod n)=(4^(n-1) mod n).

%C All powers of two are present.

%t fQ[n_] := !PrimeQ@ n && PowerMod[2, n - 1, n] == PowerMod[4, n - 1, n]; Select[ Range@ 10000, fQ]

%Y Cf. A062173, A062175, A176176.

%K nonn

%O 1,2

%A _Juri-Stepan Gerasimov_, Dec 07 2010

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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)