Commit 219c51d
committed
feat: add Java program to check perfect number
- Comprehensive tutorial with 5 different approaches
- Basic method with complete divisor enumeration
- Optimized approach using square root optimization
- Range finder to discover multiple perfect numbers
- Euclid's formula for generating even perfect numbers
- Interactive explorer with menu-driven interface
- Mathematical background and known perfect numbers
- Performance analysis and complexity comparison
- Educational content about Mersenne primes1 parent 388ea72 commit 219c51d
11 files changed
Lines changed: 523 additions & 57 deletions
File tree
- content/programs
- src
- app
- (site)
- about
- legal
- privacy
- terms
- sponsors
- api/playground
- components/home
- hooks
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments