index
:
clp
main
A small Python compiler with optimizer written in Java
dcariotti
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
progs
/
a422.py
blob: d1db25fea3e8e749ad95b0df2469a5f23f317fa9 (
plain
)
1
2
def
is_octagonal
(
n
):
return
3
*
n
*
n
-
2
*
n