Factors of Factorial

AtCoder
IDarc067_a
Time2000ms
Memory256MB
Difficulty
You are given an integer $N$. Find the number of the positive divisors of $N!$, modulo $10^9+7$. ## Constraints * $1≤N≤10^3$ ## Input The input is given from Standard Input in the following format: $N$ [samples]
Samples
Input #1
3
Output #1
4

There are four divisors of $3!$ $=6$: $1$, $2$, $3$ and $6$. Thus, the output should be $4$.
Input #2
6
Output #2
30
Input #3
1000
Output #3
972926972
API Response (JSON)
{
  "problem": {
    "name": "Factors of Factorial",
    "description": {
      "content": "You are given an integer $N$. Find the number of the positive divisors of $N!$, modulo $10^9+7$.",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "arc067_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "You are given an integer $N$. Find the number of the positive divisors of $N!$, modulo $10^9+7$.\n\n## Constraints\n\n*   $1≤N≤10^3$\n\n## Input\n\nThe input is given from Standard Input in the following form...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments