Find the nth composite number.
Everyone heard about the nth prime number. Let's try to find out the nth composite. For example , 1 is the first composite, 10 i...
8개월 전
문제를 풀었습니다
Find nth maximum
Find nth maximum in a vector of integer numbers. Return NaN if no such number exists.
x = [2 6 4 9 -10 3 1 5 -10];
So
...
8개월 전
문제를 풀었습니다
Find the logic and return the nth number
given a sequence of numbers arranged in the following order:
A=0,1,3,4,9,10,12,13,27,28,30,31,36,37,......
Write a function th...
Find nth number
The numbers 2 and 7 are called lucky numbers, an integer containing only the digits 2 and 7 is also called lucky number. The pro...
8개월 전
문제를 풀었습니다
find the nth number (plus)
this problem is the harder version of Problem 61014.
The numbers 2 and 7 are called lucky numbers, an integer containing only t...