This website requires JavaScript.
Explore
Help
Sign In
cosmonaut
/
euler
Watch
1
Star
0
Fork
You've already forked euler
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
c591b75442
euler
/
ruby
/
euler029.rb
9 lines
106 B
Ruby
Raw
Blame
History
terms
=
[
]
(
2
..
100
)
.
each
do
|
a
|
(
2
..
100
)
.
each
do
|
b
|
terms
<<
a
**
b
end
end
puts
terms
.
uniq
.
count
Reference in New Issue
View Git Blame
Copy Permalink