YOUR AD GOES HERE

Sample 030 : Perfect Numbers in [1, 10000] (BZ111-CP1)

Published 03, Nov 2026


Description:
Sample 030 of BZ111 Computer Programming-1 by Prof. Dr. Alper Basturk.

Finds the perfect numbers between 1 and 10000. A perfect number equals the sum of its divisors below itself, like 6 = 1 + 2 + 3.

In this video the program is typed in the Sherlock 221B IDE; Sherlock, the IDE's assistant, gives tips and fixes mistakes as they happen. Then the code is built and run. The program finds the four perfect numbers 6, 28, 496 and 8128.

Chapters
0:00 Intro
0:10 Writing the header comment
1:25 The search range
2:06 Summing divisors
2:23 Perfect or not
2:40 Build and run

More: https://alperbasturk.com
Playlist: BZ111 Computer Programming-1 (Samples)

Music: Johann Sebastian Bach, Violin Concerto No. 1 in A minor, BWV 1041: III. Allegro assai
Recording: United States Marine Chamber Orchestra · Wikimedia Commons (Public domain)

#CProgramming #BZ111

Releted More Videos

  • Sorry!!! Nothing to show

You May Also Like

YOUR AD GOES HERE

YOUR AD GOES HERE