Update all new Tasks
This commit is contained in:
parent
00a190b0a6
commit
91df62d461
5697 changed files with 93386 additions and 804 deletions
10
Task/Ludic-numbers/Mathematica/ludic-numbers.math
Normal file
10
Task/Ludic-numbers/Mathematica/ludic-numbers.math
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
n=10^5;
|
||||
Ludic={1};
|
||||
seq=Range[2,n];
|
||||
ClearAll[DoStep]
|
||||
DoStep[seq:{f_,___}]:=Module[{out=seq},
|
||||
AppendTo[Ludic,f];
|
||||
out[[;;;;f]]=Sequence[];
|
||||
out
|
||||
]
|
||||
Nest[DoStep,seq,2500];
|
||||
Loading…
Add table
Add a link
Reference in a new issue