I hereby claim:
- I am helixspiral on github.
- I am shawn (https://keybase.io/shawn) on keybase.
- I have a public key ASDTH57Dxc__WY96zkYSWwuMhVpMc8_L-qY9HsJOpynn5go
To claim this, I am signing this object:
| # Copyright (c) 2013 Shawn Smith <[email protected]> | |
| # | |
| # This program is free software; you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation; either version 3 of the License, or | |
| # (at your option) any later version. | |
| # | |
| # This program is distributed in the hope that it will be useful, | |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| #!/usr/bin/env ruby | |
| # Author: Shawn Smith | |
| # Purpose: Do nins math work | |
| # Problem: How many integers between 1500 and 8000 (inclusive) contain no repeated digits? | |
| total = 0 | |
| for x in 1500..8000 do | |
| number = x.to_s |
I hereby claim:
To claim this, I am signing this object: