Divisors for big integer - MATLAB Cody - MATLAB Central

Problem 2664. Divisors for big integer

Difficulty:Rate

Inspired by Problem 1025 and Project Euler 12.

Given n, return the number y of integers that divide N.

For example, with n = 10, the divisors are [1 2 5 10], so y = 4.

It's easy with normal integer but how to proceed with big number?

Solution Stats

49.71% Correct | 50.29% Incorrect
Last Solution submitted on Mar 20, 2025

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
3
5
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
4

Group

Project Euler II Image
Project Euler II
  • 12 Problems
  • 51 Finishers

Problem Recent Solvers151

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page