OurBigBook About$ Donate
 Sign in+ Sign up
by Ciro Santilli (@cirosantilli, 37)

Twin prime

 ... Mathematics Area of mathematics Number theory Prime number Type of prime number Prime k-tuple
 1 By others on same topic  0 Discussions  Updated 2025-05-26  +Created 1970-01-01  See my version
  • Table of contents
    • Twin prime conjecture Twin prime

Twin prime conjecture

 0  0 
Twin prime Tags: Famous conjecture, Prime k-tuple conjecture
Let's show them how it's done with primes + awk. Edit. They have a -d option which also shows gaps!!! Too strong:
sudo apt install bsdgames
primes -d 1 100 | awk '/\(2\)/{print $1 - 2, $1 }'
gives us the list of all twin primes up to 100:
0 2
3 5
5 7
11 13
17 19
29 31
41 43
59 61
71 73
Tested on Ubuntu 22.10.

 Ancestors (7)

  1. Prime k-tuple
  2. Type of prime number
  3. Prime number
  4. Number theory
  5. Area of mathematics
  6. Mathematics
  7.  Home

 View article source

 Discussion (0)

+ New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (1)

Twin prime by Wikipedia Bot 0  1970-01-01
 Read the full article
  See all articles in the same topic + Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook