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.

A166567 Primes p such that sum of digits - 1 is prime.

Original entry on oeis.org

3, 13, 17, 31, 53, 59, 71, 103, 107, 149, 167, 211, 233, 239, 251, 257, 293, 347, 383, 389, 419, 431, 479, 491, 503, 509, 521, 563, 569, 587, 617, 653, 659, 677, 701, 743, 761, 839, 857, 929, 941, 947, 983, 1021, 1049, 1061, 1151, 1193, 1201
Offset: 1

Views

Author

Vincenzo Librandi, Oct 28 2009

Keywords

Examples

			13 belongs to this sequence because 3+1-1=2 is prime; 17 because 1+7-1=7; 233 because 2+3+3-1=7; 653 because 6+5+3-1=13.
		

Programs

  • Mathematica
    Select[Prime[Range[200]], PrimeQ[Plus@@ IntegerDigits[#] - 1]&] (* Vincenzo Librandi, Sep 14 2012 *)