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.

A209663 Numbers n with property that n is prime, n+18 is prime and both have equal sum of digits.

Original entry on oeis.org

5, 13, 19, 23, 29, 43, 53, 79, 109, 113, 139, 149, 163, 173, 179, 223, 233, 239, 263, 313, 349, 379, 439, 443, 449, 491, 503, 523, 569, 613, 643, 659, 673, 691, 709, 733, 739, 743, 769, 809, 839, 859, 863, 919, 929, 953, 1013, 1033, 1069, 1091, 1153, 1163
Offset: 1

Views

Author

Antonio Roldán, Mar 13 2012

Keywords

Comments

Supersequence of A066540.

Examples

			613 is in the sequence because 613 is prime, 613+18 = 631 is also prime. Sum_of_digits(613) = 10 and Sum_of_digits(631) = 10.
		

Crossrefs

Cf. A066540.

Programs

  • Magma
    [p: p in PrimesUpTo(1200) | IsPrime(p+18) and  &+Intseq(p) eq &+Intseq(p+18)]; // Bruno Berselli, Mar 13 2012