2
$\begingroup$
FindSequenceFunction[{2, 4, 6, 7, 14, 29, 18, 5, 5, 2, 4}]

SystemException["MemoryAllocationFailure"]

$Version

"12.0.0 for Microsoft Windows (64-bit) (April 6, 2019)"

What's going on here? Is this a bug? Any workarounds?

FWIW, here is a screenshot, not sure if in any way useful

enter image description here

If I remove the last entry, the error is gone, and the command is returned unevaluated, as one would expect.

(Note: the sequence is not random. It gives increasingly better approximations to $\pi$ using Fold[Sqrt[1 + #2^2 + #1] &, 0, Reverse @ list])

$\endgroup$
3
  • 1
    $\begingroup$ It does not throw an exception here... (12.0 on Mac). Have you tried quitting and restarting? $\endgroup$
    – bill s
    Commented Feb 26, 2020 at 1:20
  • $\begingroup$ @bills Thanks for the feedback. The result in the OP is on a fresh kernel. $\endgroup$ Commented Feb 26, 2020 at 1:21
  • 1
    $\begingroup$ Not a problem here, Windows 10, same output on $Version $\endgroup$
    – ciao
    Commented Feb 26, 2020 at 1:29

0

Browse other questions tagged or ask your own question.