Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,2 @@
operations = DeleteCases[Tuples[{"+", "-", ""}, 9], {x_, y__} /; x == "+"];
sums = Map[StringJoin[Riffle[#, CharacterRange["1", "9"]]] &, operations];

View file

@ -0,0 +1 @@
TableForm@Select[sums, ToExpression@# == 100 &]

View file

@ -0,0 +1 @@
MaximalBy[Counts@ToExpression@sums, Identity]

View file

@ -0,0 +1,2 @@
pos = Cases[ToExpression@sums, _?Positive];
n = 1; While[MemberQ[pos, n], ++n];

View file

@ -0,0 +1 @@
{#, ToExpression@#}&/@TakeLargestBy[sums, ToExpression, 10]//TableForm