euler
.
problem
problem44
package
problem44
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
problem44
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Type Members
final
case class
Pentagonal
(
n:
Int
,
p:
Long
)
extends
Product
with
Serializable
final
case class
Polynomial
(
coeffs:
List
[
Long
]
)
extends
Product
with
Serializable
Value Members
def
answer
:
Long
def
isPentagonal
(
p:
Long
)
:
Boolean
def
pentagonal
(
n:
Long
)
:
Long
lazy val
pentagonals
:
Stream
[
Pentagonal
]
lazy val
sumCandidates
:
Stream
[(
Pentagonal
,
Pentagonal
)]
Inherited from
AnyRef
Inherited from
Any
Ungrouped