Contact
Store
Features
Docs
Share
Support
News
About
Sign Up
Sign In
Edit your own copy...
|
Download
Star
Project:
Math 201
Path:
1.2 Writing in Mathematics.sagews
Views:
2
2
7
for
n
in
[
1..20
]
:
if
is_odd
(
n
)
:
n
,
n
^
2
,
is_odd
(
n
^
2
)
(1, 1, True) (3, 9, True) (5, 25, True) (7, 49, True) (9, 81, True) (11, 121, True) (13, 169, True) (15, 225, True) (17, 289, True) (19, 361, True)
for
k
in
[
0..9
]
:
2
*
k
+
1
,
(
2
*
k
+
1
)
^
2
(1, 1) (3, 9) (5, 25) (7, 49) (9, 81) (11, 121) (13, 169) (15, 225) (17, 289) (19, 361)