« first day (73 days earlier)
← previous day
next day →
last day (1254 days later) »
Grimy
12:23 AM
your 48 fails to match numbers of the form 2^n + 1
H.PWiz
I disagree, when
((xx)?x*)
is
1
,
\2
is
x
, so
(?!(x\2+)\5+$)
will match non-composites (not
2^n
). Unless you've tested it and found it to not work?
H.PWiz
1:06 AM
% ./regex -nx '^(?!((xx?)x*)(((?!(x\2+)\5+$)x*(?=\1$)){2})?\1$)' -t 262145
262145 -> 0
« first day (73 days earlier)
← previous day
next day →
last day (1254 days later) »
all rooms
Transcript for
Apr
21
Apr '19
22
Apr
23
Mathematical Regexes
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile