Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A122780
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A122780 Nonprimes n such that 3^n==3 (mod n). +0
2
1, 6, 66, 91, 121, 286, 561, 671, 703, 726, 949, 1105, 1541, 1729, 1891, 2465, 2665, 2701, 2821, 3281, 3367, 3751, 4961, 5551, 6601, 7107, 7381, 8205, 8401, 8646, 8911, 10585, 11011, 12403, 14383, 15203, 15457, 15841, 16471, 16531, 18721, 19345 (list; graph; listen)
OFFSET

1,2

COMMENT

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

EXAMPLE

66 is composite and 3^66=66*468229611858069884271524875811+3 so 66 is in the sequence.

MATHEMATICA

Select[Range[30000], ! PrimeQ[ # ] && Mod[3^#, # ] == Mod[3, # ] &]

CROSSREFS

Cf. A001567, A122014, A122781-9.

Sequence in context: A137121 A110222 A119230 this_sequence A119144 A117794 A101011

Adjacent sequences: A122777 A122778 A122779 this_sequence A122781 A122782 A122783

KEYWORD

easy,nonn

AUTHOR

Farideh Firoozbakht (mymontain(AT)yahoo.com), Sep 11 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 September 7 15:23 EDT 2008. Contains 143483 sequences.


AT&T Labs Research