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!)
A056853 Numbers n satisfying phi(n+1) - phi(n-1) = 2. 2
4, 6, 7, 12, 13, 15, 18, 19, 21, 30, 42, 45, 60, 63, 72, 93, 102, 108, 117, 138, 150, 165, 180, 192, 198, 213, 228, 240, 255, 270, 282, 312, 333, 348, 357, 420, 432, 453, 462, 522, 525, 570, 600, 618, 642, 660, 693, 717, 765, 810, 822, 828, 858, 882, 933, 957 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
phi(13+1)-phi(13-1) = 2, so 13 is a term of the sequence.
MATHEMATICA
Select[Range[10^3], EulerPhi[ # + 1] - EulerPhi[ # - 1] == 2 &]
Flatten[Position[Partition[EulerPhi[Range[1000]], 3, 1], _?(Last[#]-First[#] == 2&), {1}, Heads->False]]+1 (* Harvey P. Dale, Jul 14 2014 *)
CROSSREFS
Cf. A000010. Essentially the same as A001838.
Sequence in context: A102143 A364725 A303263 * A024566 A166457 A047506
KEYWORD
nonn
AUTHOR
Joseph L. Pe, Feb 12 2002
STATUS
approved

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