Categories
- Computer Science (46)
- C Language (5)
- Coding Discussions (21)
- Linux / Unix Shell (15)
- Others (4)
- Overview (3)
- Entertainment (4)
- GNU+Linux+FOSS (37)
- Humor (16)
- Writings (3)
- Computer Science (46)
Tags
StackOverflow
Follow Information Retrival Q&A site in Stackexchange
-
Top 10
- Geeky Code Wallpaper with GIMP
- Floating point math operations in bash
- Read multiple arguments in bash script
- Bash Script : Print lines of a file in reverse order
- Choose login manager GDM or KDM in Fedora
- C Language Constructors and Destructors with GCC
- Fix dark video in Skype for Linux
- Running Skype for Fedora x86 in Fedora x86_64
- Bash Script: Counting lines, words, characters
- Little and Big Endian conversion
-
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 Programming, C program, prime number
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 Programming, C program, prime number
3 Comments





