Jump to content

Babbage problem: Difference between revisions

fix typo "syntaxhighligh" -> "syntaxhighlight"
(Add MATLAB implementation)
(fix typo "syntaxhighligh" -> "syntaxhighlight")
Line 2,804:
clear all;close all;clc;
BabbageProblem();
 
 
function BabbageProblem
Line 2,824 ⟶ 2,823:
fprintf('The smallest positive integer whose square ends in 269696 = %d\n', x);
end
</syntaxhighlight>
</syntaxhighligh>
{{out}}
<pre>
338

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.