cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A001838 Numbers k such that phi(k+2) = phi(k) + 2.

Original entry on oeis.org

3, 5, 6, 11, 12, 14, 17, 18, 20, 29, 41, 44, 59, 62, 71, 92, 101, 107, 116, 137, 149, 164, 179, 191, 197, 212, 227, 239, 254, 269, 281, 311, 332, 347, 356, 419, 431, 452, 461, 521, 524, 569, 599, 617, 641, 659, 692, 716, 764, 809, 821, 827, 857, 881, 932, 956
Offset: 1

Views

Author

Keywords

Comments

If p and p+2 are primes then p is a solution. If p and 2p+1 are both odd primes then 4p is a solution. Several numbers of the form 2^j-2 are solutions (see cross-referenced sequences). Although 18 is a solution, it is not of any of these forms.
Twice Mersenne primes (cf. A000668) are also solutions. - Vladeta Jovovic, Feb 14 2002

Examples

			phi(18+2) = 8 = phi(18) + 2, so 18 is in the sequence.
		

References

  • M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards Applied Math. Series 55, 1964 (and various reprintings), p. 840.
  • D. M. Burton, Elementary Number Theory, section 7-2.
  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence as N0951, although there are errors, probably caused by errors in the original source).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Cf. A050472, A050473, etc. Essentially the same as A056853.

Programs

Extensions

More terms from Jud McCranie, Dec 24 1999