Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A122781
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A122781 Nonprimes n such that 4^n==4 (mod n). +0
3
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; listen)
OFFSET

1,2

COMMENT

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.

Adjacent sequences: A122778 A122779 A122780 this_sequence A122782 A122783 A122784

Sequence in context: A131863 A074870 A104236 this_sequence A153355 A024904 A139056

KEYWORD

easy,nonn

AUTHOR

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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 8 07:45 EST 2009. Contains 166143 sequences.


AT&T Labs Research