Polite numbers. N-th polite number. - MATLAB Cody - MATLAB Central

Problem 2593. Polite numbers. N-th polite number.

Difficulty:Rate

A polite number is an integer that sums of at least two consecutive positive integers.

For example 7 = 3+4 so 7 is a polite number.

Given N return N-th polite number.

See also 2595

Solution Stats

47.11% Correct | 52.89% Incorrect
Last Solution submitted on Dec 03, 2024

Problem Comments

Solution Comments

Show comments
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
3

Problem Recent Solvers159

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