OFFSET
1,1
COMMENTS
Only numbers > 1000 are considered, since all 3-digit primes are trivial members. See A069489 for the sequence with prime terms > 1000.
The sequence is infinite (for example, consider the continued concatenation of '19' or of '337': 1919, 19191, 191919, ..., 3373, 33733, 337337, ... are members).
Infinitely many terms are palindromic.
A 10-automatic sequence realized by a linear recurrence relation. - Charles R Greathouse IV, Jan 04 2013
There are 204 4-digit terms. - Harvey P. Dale, Apr 09 2026
LINKS
Hieronymus Fischer, Table of n, a(n) for n = 1..3000
EXAMPLE
a(1) = 1131, since all substrings of length = 3 (113 and 131) are primes.
a(33) = 2271, since all substrings of length = 3 (227, 271) are primes.
MATHEMATICA
Select[Range[1000, 9999], With[{c=IntegerDigits[#]}, c[[2]]!=0&&AllTrue[FromDigits/@{Most[c], Rest[c]}, PrimeQ]]&] (* The program generates all 4-digit terms. *) (* Harvey P. Dale, Apr 09 2026 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Hieronymus Fischer, Jun 08 2012
STATUS
approved
