Acertijos matemáticos
In[1]:= |
Out[1]= |
In[2]:= |
Out[2]= |
In[3]:= |
Out[3]= |
In[4]:= |
Out[4]= |
In[1]:= |
Out[1]= |
In[2]:= |
Out[2]= |
In[1]:= |
Out[1]= |
In[2]:= |
Out[2]= |
In[3]:= |
Out[3]= |
In[1]:= |
Out[1]= |
In[1]:= |
⨯
CoprimeQ[Range[1000000], 1000000] // Short |
Out[1]= |
In[2]:= |
⨯
% /. False -> Nothing // Short |
Out[2]= |
In[3]:= |
⨯
Length[%] |
Out[3]= |
In[4]:= |
⨯
Length[CoprimeQ[Range[1000000], 1000000] /. False -> Nothing] |
Out[4]= |
In[1]:= |
⨯
\!\( \*UnderoverscriptBox[\(\[Sum]\), \(i = 1\), \(n\)] \*SuperscriptBox[\(i\), \(2\)]\) |
Out[1]= |
In[2]:= |
⨯
\!\( \*UnderoverscriptBox[\(\[Sum]\), \(i = 1\), \(n\)] \*SuperscriptBox[\(i\), \(k\)]\) |
Out[2]= |
In[1]:= |
⨯
Labeled[Graphics[ shape = {Rectangle[], Rectangle[{0, 1}], Rectangle[{1, 0}]}], n] |
Out[1]= |
In[2]:= |
⨯
Graphics[{ Scale[shape, 2, {0, 0}], {Yellow, shape}, {Green, Translate[shape, {1, 1}]}, {Blue, Translate[Rotate[shape, -90 \[Degree]], {0, 2}]}, {Red, Translate[Rotate[shape, 90 \[Degree]], {2, 0}]} }] |
Out[2]= |
In[3]:= |
⨯
Graphics[{ Scale[shape, 3, {0, 0}], {Orange, shape}, {Magenta, Translate[Rotate[shape, -90 \[Degree]], {0, 2}]}, {Green, Translate[shape, {1, 1}]}, {Red, Translate[Rotate[shape, 90 \[Degree]], {2, 0}]}, {Black, Translate[shape, {0, 4}]}, {Blue, Translate[Rotate[shape, 180 \[Degree]], {1, 4}]}, {Gray, Translate[shape, {2, 2}]}, {Purple, Translate[Rotate[shape, -90 \[Degree]], {4, 1}]}, {Yellow, Translate[Rotate[shape, 90 \[Degree]], {4, 0}]} }] |
Out[3]= |
In[1]:= | X Tower of Hanoi 2 disk solution |
Out[1]= |