Question: PLEASE SOLVE WTH OCTAVE 2. (15p) Write a Matlab/Octave script that finds the number of perfect numbers between 1 and n. n is the input

PLEASE SOLVE WTH OCTAVE
2. (15p) Write a Matlab/Octave script that finds the number of perfect numbers between 1 and n. n is the input provided by the user. Perfect number is a positive integer that is equal to the sum of its proper divisors. The smallest perfect number is 6, which is the sum of 1, 2, and 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
