Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
r"""
(?: Search: \s+ (?P<SEARCH> .* )) | (?: (?P<SHOWING> ^Showing\s.*)) | (?: ^% (?P<_TAG> (?P<SEQ> [STU] ) | (?P<PROG> [pto] ) | (?P<REST> [A-Za-z]) ) \s+ (?P<ANUMBER> A\d+) \s+ (?P<VALUE> .*) )
"""
gmx
Input 1
# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ ## Ref: https://oeis.org/eishelp1.html Search: seq:1,2,3,4 Showing 11-20 of 12439 %I A270929 #19 Jul 13 2023 12:28:14 %S A270929 1,2,3,4,15,20,24,32,38,40,63,93,104,194,208,514,535,600,928,1300, %T A270929 1485,1780,2058,3060,3356,3721,6662,11552,15482,23000,27375,34748, %U A270929 57219,61251,85221,99656,103214,103244,276537 %N A270929 Numbers k such that (16*10^k - 31)/3 is prime. %C A270929 For k>1, numbers such that the digit 5 followed by k-2 occurrences of the digit 3 followed by the digits 23 is prime (see Example section). %C A270929 a(40) > 3*10^5. - _Robert Price_, Jul 13 2023 %H A270929 Makoto Kamada, <a href="https://stdkmd.net/nrr/prime/primedifficulty.txt">Search for 53w23.</a> %e A270929 3 is in this sequence because (16*10^3 - 31)/3 = 5323 is prime. %e A270929 Initial terms and primes associated: %e A270929 a(1) = 1, 43; %e A270929 a(2) = 2, 523; %e A270929 a(3) = 3, 5323; %e A270929 a(4)
Substitution
# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ ## Ref: https://oeis.org/eishelp1.html Search: seq:1,2,3,4 Showing 11-20 of 12439 %I A270929 #19 Jul 13 2023 12:28:14 %S A270929 1,2,3,4,15,20,24,32,38,40,63,93,104,194,208,514,535,600,928,1300, %T A270929 1485,1780,2058,3060,3356,3721,6662,11552,15482,23000,27375,34748, %U A270929 57219,61251,85221,99656,103214,103244,276537 %N A270929 Numbers k such that (16*10^k - 31)/3 is prime. %C A270929 For k>1, numbers such that the digit 5 followed by k-2 occurrences of the digit 3 followed by the digits 23 is prime (see Example section). %C A270929 a(40) > 3*10^5. - _Robert Price_, Jul 13 2023 %H A270929 Makoto Kamada, <a href="https://stdkmd.net/nrr/prime/primedifficulty.txt">Search for 53w23.</a> %e A270929 3 is in this sequence because (16*10^3 - 31)/3 = 5323 is prime. %e A270929 Initial terms and primes associated: %e A270929 a(1) = 1, 43; %e A270929 a(2) = 2, 523; %e A270929 a(3) = 3, 5323; %e A270929 a(4)