Post Reply 
(40G) OEIS A027423: Number of Divisors of N!
10-01-2017, 05:46 AM (This post was last modified: 10-01-2017 07:12 AM by Gerald H.)
Post: #1
(40G) OEIS A027423: Number of Divisors of N!
For last natural number input N to the Home screen the programme returns the Nth element of the series

https://oeis.org/A027423

Code:
IF Ans<2
THEN
1:
ELSE
Ans►N:
1►M:
2►P:
DO
0►S:
P►Q:
DO 
IQUOT(N,Q)►T:
T+S►S:
P*Q►Q:
UNTIL
NOT T
END:
NEXTPRIME(P)►P:
(S+1)*M►M:
UNTIL
N<P
END:
END:
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(40G) OEIS A027423: Number of Divisors of N! - Gerald H - 10-01-2017 05:46 AM



User(s) browsing this thread: 1 Guest(s)