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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A066685 Numbers n such that p(n) is congruent to EulerPhi(n) mod n, where p(n) denotes the n-th prime. 0
1, 2, 3, 789, 40087, 238717, 251737, 7847315, 69673727, 2283427137, 2664260621 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

a(12) > 10^12. [From Donovan Johnson (donovan.johnson(AT)yahoo.com), Mar 14 2010]

EXAMPLE

p(1) = 2 is congruent to 0 mod 1, and EulerPhi(1) = 1 is congruent to 0 mod 1, so 1 is a term of the sequence.

p(3) = 5 is congruent to 2 mod 3, and EulerPhi(3) = 2 is congruent to 2 mod 3, so 3 is a term of the sequence.

MATHEMATICA

Select[ Range[ 1, 10^6 ], Mod[ EulerPhi[ # ], # ] == Mod[ Prime[ # ], # ] & ]

CROSSREFS

Sequence in context: A004887 A165770 A108332 * A076155 A136611 A004898

Adjacent sequences:  A066682 A066683 A066684 * A066686 A066687 A066688

KEYWORD

nonn

AUTHOR

Joseph L. Pe (joseph_l_pe(AT)hotmail.com), Jan 11 2002

EXTENSIONS

Examples revised by N. J. A. Sloane, Jan 31 2010

a(8)-a(11) from Donovan Johnson (donovan.johnson(AT)yahoo.com), Mar 14 2010

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 14:37 EST 2012. Contains 205930 sequences.