I cannot confirm the behavior in REPL. For N=29, it does take a few seconds and prints the answer. But for
30
it does not crash - it just takes a very long time (around a minute for me). I tested
31
and
50
as well but that took too long.
replit.com/@pdormeier99/CandidIndelibleActivecell#Main.java