diff options
Diffstat (limited to 'progs/a631.py')
-rw-r--r-- | progs/a631.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/a631.py b/progs/a631.py new file mode 100644 index 0000000..0790cd1 --- /dev/null +++ b/progs/a631.py @@ -0,0 +1,2 @@ +def find_star_num(n):
+ return (6 * n * (n - 1) + 1)
\ No newline at end of file |