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.56% Correct | 50.44% Incorrect
Last Solution submitted on Feb 25, 2025

Problem Comments

Solution Comments

Show comments

Group

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

Problem Recent Solvers150

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