Categories
- Computer Science (39)
- C Language (4)
- Coding Discussions (16)
- Linux / Unix Shell (14)
- Others (3)
- Overview (3)
- Entertainment (4)
- GNU+Linux+FOSS (33)
- Humor (16)
- Writings (3)
- Computer Science (39)
Tags
StackOverflow
-
Top 10
- Geeky Code Wallpaper with GIMP
- Floating point math operations in bash
- Choose login manager GDM or KDM in Fedora
- Bash Script : Print lines of a file in reverse order
- C Language Constructors and Destructors with GCC
- Bash Script: Counting lines, words, characters
- Read multiple arguments in bash script
- Allegro 4.2.2
- Making a Multi Booting CD DVD USB
- Balanced Parenthesis Check
-
Recent Comments
Polls
Tag Archives: prime number
Sieve of Eratosthenes : A basic implementation
An basic implementation to generate prime numbers by the Sieve of Eratosthenes method. Continue reading
Posted in Coding Discussions, Computer Science
Tagged C program, prime number, Programming
7 Comments
Generating Twin Primes, Cousin Primes and Sexy Primes
A solution to generate twin prime numbers: A twin prime is a set of two prime numbers whose absolute difference is 2. Let p1 and p2 primes such that p2 – p1 = 2, then the set { p1 , p2 } are twin primes. Continue reading
Posted in Coding Discussions, Computer Science
Tagged C program, prime number, Programming
3 Comments




