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 23:31, 8 January 2022
, 2 years ago→{{header|R}}: Syntax highlighting.
(→{{header|PL/M}}: Added Polyglot:PL/I and PL/M and PL/I) |
ReeceGoding (talk | contribs) m (→{{header|R}}: Syntax highlighting.) |
||
Line 1,207:
=={{header|R}}==
<lang
divisorCount <- function(n) length(Filter(function(x) n %% x == 0, seq_len(n %/% 2))) + 1
A06954 <- function(terms)
|