Anonymous user
Sequence: smallest number greater than previous term with exactly n divisors: Difference between revisions
Sequence: smallest number greater than previous term with exactly n divisors (view source)
Revision as of 15:18, 16 July 2020
, 3 years ago→{{header|Haskell}}
Line 300:
=={{header|Haskell}}==
<lang haskell>import Text.Printf (printf)
sequence_A069654 :: [(Int,Int)]
sequence_A069654 = go 1 $ (,) <*>
where
f d r | n `mod` d == 0 = let y = n `div`
main :: IO ()
|