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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A122781 Nonprimes n such that 4^n==4 (mod n). 2
1, 4, 6, 12, 15, 28, 66, 85, 91, 186, 276, 341, 435, 451, 532, 561, 645, 703, 946, 1068, 1105, 1247, 1271, 1387, 1581, 1695, 1729, 1891, 1905, 2044, 2046, 2047, 2071, 2465, 2701, 2821, 2926, 3133, 3277, 3367, 3683, 4033, 4369, 4371, 4681, 4795 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

Theorem: If both numbers q and 2q-1 are primes then n=q*(2q-1) is in the sequence. So A005382*(2*A005382-1)= 6,15,91,703,1891,2701, 12403,18721,... is the related subsequence.

MATHEMATICA

Select[Range[4800], ! PrimeQ[ # ] && Mod[4^#, # ] == Mod[4, # ] &]

CROSSREFS

Cf. A005382, A020136.

Sequence in context: A131863 A074870 A104236 * A153355 A024904 A172445

Adjacent sequences:  A122778 A122779 A122780 * A122782 A122783 A122784

KEYWORD

easy,nonn

AUTHOR

Farideh Firoozbakht (mymontain(AT)yahoo.com), Sep 12 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 07:10 EST 2012. Contains 205874 sequences.