%I #18 Sep 15 2018 15:54:25
%S 21347,2213347,2213447,21334447,21344447,21344777,22133477,213334477,
%T 221344477,2134444777,22133344447,221344477777,2133344447777,
%U 2133347777777,2213447777777,22133344447777,213344447777777,221333447777777,22133344447777777
%N Prime numbers which satisfy the regex m1{1,m1}m2{1,m2}m3{1,m3}m4{1,m4}m5{1,m5} where mi are one-digit Lucas numbers.
%C mi=Lucas numbers sequence(i), i.e., m1=2, m2=1, m3=3 and so on.
%e The prime number 2213447 belongs to this sequence as 2, 1, 3, 4 and 7 are the one-digit Lucas numbers (ordered as in Lucas number sequence) and each digit k is repeated at most k times (including itself), in accordance with the regex described in the sequence name (2 repeated two times, 1 one time, 3 repeated one time, 4 repeated two times and 7 one time).
%e The prime number 22133344447777777 is the best example, as each one-digit Lucas number k is repeated exactly k times.
%Y Cf. A000032.
%K nonn,base,fini,full
%O 1,1
%A _Pierandrea Formusa_, Sep 07 2018
|