Categories
- Computer Science (62)
- C Language (16)
- Coding Discussions (29)
- Linux / Unix Shell (16)
- Others (4)
- Overview (3)
- Entertainment (4)
- GNU+Linux+FOSS (41)
- Humor (17)
- Writings (5)
- Computer Science (62)
Tags
api array bash boot C++ casual combinatorics counting C program fedora firefox gcc gimp google graphics grub html id3 implementation defined behaviour internet ipod linux numerical octave poll prime number Programming R random number recursion shift operators skype undefined behavior video wallpaper wordpress workflowStackOverflow
Area51 Stackexchange Proposals to Follow
Top 10
- Floating point math operations in bash
- Read multiple arguments in bash script
- Choose login manager GDM or KDM in Fedora
- Little and Big Endian conversion
- C Language Constructors and Destructors with GCC
- Recursive Solution to Towers of Hanoi
- Implement stack using a queue
- Simple script to restart services automatically when stopped in Fedora/Redhat
- Simpson's 1/3rd Rule
- Generating random numbers from Normal distribution in C
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






