A085823 Numbers in which all substrings are primes.
2, 3, 5, 7, 23, 37, 53, 73, 373
Offset: 1
Examples
Example : 373 is in the sequence, because 3, 7, 37, 73 and 373 are prime, but 733 is not in the sequence, because 33 is not prime.
Links
- Onno M. Cain, Prime-bounded subwords, arXiv:1912.08598 [math.HO], 2019.
- NRICH, Strange Numbers
- Henri Picciotto's Math Education Page, "Super-slimes" in Infinity, Unit 1
Programs
-
Mathematica
Select[Prime@ Range[10^3], AllTrue[FromDigits /@ Rest@ Subsequences@ IntegerDigits@ #, PrimeQ] &] (* Michael De Vlieger, Jul 30 2018 *)
Extensions
Thanks to Mark Underwood for pointing out misprints in the first version of this sequence.
Edited by N. J. A. Sloane, Jun 20 2009 at the suggestion of Lekraj Beedassy
Comments