Data update

This commit is contained in:
Ingy döt Net 2025-02-27 18:35:13 -05:00
parent 8e4e15fa56
commit 72eb4943cb
1853 changed files with 35514 additions and 9441 deletions

View file

@ -0,0 +1,17 @@
function a296712(): sequence of integer;
begin
foreach var n in 1.step do
if n.ToString
.Pairwise((x, y) -> (if x > y then 1 else if x < y then -1 else 0))
.Sum = 0 then
yield n;
end;
begin
println('The first 200 numbers are:');
a296712.Take(200).Print;
println;
println;
println('The 10,000,000th number is:');
a296712.ElementAt(10_000_000 - 1).Println;
end.