-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path5.nb
69 lines (59 loc) · 1.65 KB
/
5.nb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
(* Content-type: application/vnd.wolfram.mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 10.0' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 158, 7]
NotebookDataLength[ 1494, 59]
NotebookOptionsPosition[ 1138, 41]
NotebookOutlinePosition[ 1492, 57]
CellTagsIndexPosition[ 1449, 54]
WindowFrame->Normal*)
(* Beginning of Notebook Content *)
Notebook[{
Cell[CellGroupData[{
Cell[BoxData[{
RowBox[{"ans", " ", "=", " ", "1"}], "\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", " ", "=", " ", "1"}], ",",
RowBox[{"i", " ", "<", " ", "20"}], ",",
RowBox[{"++", "i"}], ",",
RowBox[{"ans", " ", "=", " ",
RowBox[{"LCM", "[",
RowBox[{"ans", ",", " ", "i"}], "]"}]}]}],
"]"}], "\[IndentingNewLine]", "ans"}], "Input"],
Cell[BoxData["1"], "Output",
CellChangeTimes->{3.615587620110641*^9}],
Cell[BoxData["232792560"], "Output",
CellChangeTimes->{3.6155876201124496`*^9}]
}, Open ]]
},
WindowSize->{808, 587},
WindowMargins->{{12, Automatic}, {Automatic, 24}},
FrontEndVersion->"10.0 for Mac OS X x86 (32-bit, 64-bit Kernel) (June 27, \
2014)",
StyleDefinitions->"Default.nb"
]
(* End of Notebook Content *)
(* Internal cache information *)
(*CellTagsOutline
CellTagsIndex->{}
*)
(*CellTagsIndex
CellTagsIndex->{}
*)
(*NotebookFileOutline
Notebook[{
Cell[CellGroupData[{
Cell[580, 22, 386, 10, 63, "Input"],
Cell[969, 34, 70, 1, 28, "Output"],
Cell[1042, 37, 80, 1, 86, "Output"]
}, Open ]]
}
]
*)
(* End of internal cache information *)