View Full Version: Primes Using Base 12

Dozensonline > Number Bases > Primes Using Base 12



Title: Primes Using Base 12


Ellume - July 7, 2007 11:17 PM (GMT)
Well after hearing about how prime numbers work out in a line using base 12 I decided I would try it out. Sure enough all the primes are in 4 columns. I don't see any repeating pattern to predict primes however.

Does anyone know about a number base that would allow even greater prediction of primes then base 12? Maybe base 60?

Also is there any other useful applications that can be done with this information other then the knowing all the primes end in 1, 5, 7, or 11 (I'm writing in decimal)?

Dan - July 8, 2007 12:26 AM (GMT)
QUOTE (Ellume @ Jul 7 2007, 05:17 PM)
Does anyone know about a number base that would allow even greater prediction of primes then base 12? Maybe base 60?

The prime number end digits (excluding small primes) for bases 2-100 are:
  • Base 2: 1
  • Base 3: 1, 2
  • Base 4: 1, 3
  • Base 5: 1, 2, 3, 4
  • Base 6: 1, 5
  • Base 7: 1, 2, 3, 4, 5, 6
  • Base 8: 1, 3, 5, 7
  • Base 9: 1, 2, 4, 5, 7, 8
  • Base 10: 1, 3, 7, 9
  • Base 11: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
  • Base 12: 1, 5, 7, 11
  • Base 13: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
  • Base 14: 1, 3, 5, 9, 11, 13
  • Base 15: 1, 2, 4, 7, 8, 11, 13, 14
  • Base 16: 1, 3, 5, 7, 9, 11, 13, 15
  • Base 17: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16
  • Base 18: 1, 5, 7, 11, 13, 17
  • Base 19: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
  • Base 20: 1, 3, 7, 9, 11, 13, 17, 19
  • Base 21: 1, 2, 4, 5, 8, 10, 11, 13, 16, 17, 19, 20
  • Base 22: 1, 3, 5, 7, 9, 13, 15, 17, 19, 21
  • Base 23: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22
  • Base 24: 1, 5, 7, 11, 13, 17, 19, 23
  • Base 25: 1, 2, 3, 4, 6, 7, 8, 9, 11, 12, 13, 14, 16, 17, 18, 19, 21, 22, 23, 24
  • Base 26: 1, 3, 5, 7, 9, 11, 15, 17, 19, 21, 23, 25
  • Base 27: 1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16, 17, 19, 20, 22, 23, 25, 26
  • Base 28: 1, 3, 5, 9, 11, 13, 15, 17, 19, 23, 25, 27
  • Base 29: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28
  • Base 30: 1, 7, 11, 13, 17, 19, 23, 29
  • Base 31: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
  • Base 32: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31
  • Base 33: 1, 2, 4, 5, 7, 8, 10, 13, 14, 16, 17, 19, 20, 23, 25, 26, 28, 29, 31, 32
  • Base 34: 1, 3, 5, 7, 9, 11, 13, 15, 19, 21, 23, 25, 27, 29, 31, 33
  • Base 35: 1, 2, 3, 4, 6, 8, 9, 11, 12, 13, 16, 17, 18, 19, 22, 23, 24, 26, 27, 29, 31, 32, 33, 34
  • Base 36: 1, 5, 7, 11, 13, 17, 19, 23, 25, 29, 31, 35
  • Base 37: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
  • Base 38: 1, 3, 5, 7, 9, 11, 13, 15, 17, 21, 23, 25, 27, 29, 31, 33, 35, 37
  • Base 39: 1, 2, 4, 5, 7, 8, 10, 11, 14, 16, 17, 19, 20, 22, 23, 25, 28, 29, 31, 32, 34, 35, 37, 38
  • Base 40: 1, 3, 7, 9, 11, 13, 17, 19, 21, 23, 27, 29, 31, 33, 37, 39
  • Base 41: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40
  • Base 42: 1, 5, 11, 13, 17, 19, 23, 25, 29, 31, 37, 41
  • Base 43: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42
  • Base 44: 1, 3, 5, 7, 9, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 35, 37, 39, 41, 43
  • Base 45: 1, 2, 4, 7, 8, 11, 13, 14, 16, 17, 19, 22, 23, 26, 28, 29, 31, 32, 34, 37, 38, 41, 43, 44
  • Base 46: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45
  • Base 47: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46
  • Base 48: 1, 5, 7, 11, 13, 17, 19, 23, 25, 29, 31, 35, 37, 41, 43, 47
  • Base 49: 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, 20, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33, 34, 36, 37, 38, 39, 40, 41, 43, 44, 45, 46, 47, 48
  • Base 50: 1, 3, 7, 9, 11, 13, 17, 19, 21, 23, 27, 29, 31, 33, 37, 39, 41, 43, 47, 49
  • Base 51: 1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16, 19, 20, 22, 23, 25, 26, 28, 29, 31, 32, 35, 37, 38, 40, 41, 43, 44, 46, 47, 49, 50
  • Base 52: 1, 3, 5, 7, 9, 11, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 41, 43, 45, 47, 49, 51
  • Base 53: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52
  • Base 54: 1, 5, 7, 11, 13, 17, 19, 23, 25, 29, 31, 35, 37, 41, 43, 47, 49, 53
  • Base 55: 1, 2, 3, 4, 6, 7, 8, 9, 12, 13, 14, 16, 17, 18, 19, 21, 23, 24, 26, 27, 28, 29, 31, 32, 34, 36, 37, 38, 39, 41, 42, 43, 46, 47, 48, 49, 51, 52, 53, 54
  • Base 56: 1, 3, 5, 9, 11, 13, 15, 17, 19, 23, 25, 27, 29, 31, 33, 37, 39, 41, 43, 45, 47, 51, 53, 55
  • Base 57: 1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16, 17, 20, 22, 23, 25, 26, 28, 29, 31, 32, 34, 35, 37, 40, 41, 43, 44, 46, 47, 49, 50, 52, 53, 55, 56
  • Base 58: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57
  • Base 59: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58
  • Base 60: 1, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 49, 53, 59
  • Base 61: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60
  • Base 62: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61
  • Base 63: 1, 2, 4, 5, 8, 10, 11, 13, 16, 17, 19, 20, 22, 23, 25, 26, 29, 31, 32, 34, 37, 38, 40, 41, 43, 44, 46, 47, 50, 52, 53, 55, 58, 59, 61, 62
  • Base 64: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61, 63
  • Base 65: 1, 2, 3, 4, 6, 7, 8, 9, 11, 12, 14, 16, 17, 18, 19, 21, 22, 23, 24, 27, 28, 29, 31, 32, 33, 34, 36, 37, 38, 41, 42, 43, 44, 46, 47, 48, 49, 51, 53, 54, 56, 57, 58, 59, 61, 62, 63, 64
  • Base 66: 1, 5, 7, 13, 17, 19, 23, 25, 29, 31, 35, 37, 41, 43, 47, 49, 53, 59, 61, 65
  • Base 67: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66
  • Base 68: 1, 3, 5, 7, 9, 11, 13, 15, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 53, 55, 57, 59, 61, 63, 65, 67
  • Base 69: 1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16, 17, 19, 20, 22, 25, 26, 28, 29, 31, 32, 34, 35, 37, 38, 40, 41, 43, 44, 47, 49, 50, 52, 53, 55, 56, 58, 59, 61, 62, 64, 65, 67, 68
  • Base 70: 1, 3, 9, 11, 13, 17, 19, 23, 27, 29, 31, 33, 37, 39, 41, 43, 47, 51, 53, 57, 59, 61, 67, 69
  • Base 71: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70
  • Base 72: 1, 5, 7, 11, 13, 17, 19, 23, 25, 29, 31, 35, 37, 41, 43, 47, 49, 53, 55, 59, 61, 65, 67, 71
  • Base 73: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
  • Base 74: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61, 63, 65, 67, 69, 71, 73
  • Base 75: 1, 2, 4, 7, 8, 11, 13, 14, 16, 17, 19, 22, 23, 26, 28, 29, 31, 32, 34, 37, 38, 41, 43, 44, 46, 47, 49, 52, 53, 56, 58, 59, 61, 62, 64, 67, 68, 71, 73, 74
  • Base 76: 1, 3, 5, 7, 9, 11, 13, 15, 17, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 59, 61, 63, 65, 67, 69, 71, 73, 75
  • Base 77: 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 13, 15, 16, 17, 18, 19, 20, 23, 24, 25, 26, 27, 29, 30, 31, 32, 34, 36, 37, 38, 39, 40, 41, 43, 45, 46, 47, 48, 50, 51, 52, 53, 54, 57, 58, 59, 60, 61, 62, 64, 65, 67, 68, 69, 71, 72, 73, 74, 75, 76
  • Base 78: 1, 5, 7, 11, 17, 19, 23, 25, 29, 31, 35, 37, 41, 43, 47, 49, 53, 55, 59, 61, 67, 71, 73, 77
  • Base 79: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78
  • Base 80: 1, 3, 7, 9, 11, 13, 17, 19, 21, 23, 27, 29, 31, 33, 37, 39, 41, 43, 47, 49, 51, 53, 57, 59, 61, 63, 67, 69, 71, 73, 77, 79
  • Base 81: 1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16, 17, 19, 20, 22, 23, 25, 26, 28, 29, 31, 32, 34, 35, 37, 38, 40, 41, 43, 44, 46, 47, 49, 50, 52, 53, 55, 56, 58, 59, 61, 62, 64, 65, 67, 68, 70, 71, 73, 74, 76, 77, 79, 80
  • Base 82: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61, 63, 65, 67, 69, 71, 73, 75, 77, 79, 81
  • Base 83: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82
  • Base 84: 1, 5, 11, 13, 17, 19, 23, 25, 29, 31, 37, 41, 43, 47, 53, 55, 59, 61, 65, 67, 71, 73, 79, 83
  • Base 85: 1, 2, 3, 4, 6, 7, 8, 9, 11, 12, 13, 14, 16, 18, 19, 21, 22, 23, 24, 26, 27, 28, 29, 31, 32, 33, 36, 37, 38, 39, 41, 42, 43, 44, 46, 47, 48, 49, 52, 53, 54, 56, 57, 58, 59, 61, 62, 63, 64, 66, 67, 69, 71, 72, 73, 74, 76, 77, 78, 79, 81, 82, 83, 84
  • Base 86: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 45, 47, 49, 51, 53, 55, 57, 59, 61, 63, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85
  • Base 87: 1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16, 17, 19, 20, 22, 23, 25, 26, 28, 31, 32, 34, 35, 37, 38, 40, 41, 43, 44, 46, 47, 49, 50, 52, 53, 55, 56, 59, 61, 62, 64, 65, 67, 68, 70, 71, 73, 74, 76, 77, 79, 80, 82, 83, 85, 86
  • Base 88: 1, 3, 5, 7, 9, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 57, 59, 61, 63, 65, 67, 69, 71, 73, 75, 79, 81, 83, 85, 87
  • Base 89: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88
  • Base 90: 1, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 49, 53, 59, 61, 67, 71, 73, 77, 79, 83, 89
  • Base 91: 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 15, 16, 17, 18, 19, 20, 22, 23, 24, 25, 27, 29, 30, 31, 32, 33, 34, 36, 37, 38, 40, 41, 43, 44, 45, 46, 47, 48, 50, 51, 53, 54, 55, 57, 58, 59, 60, 61, 62, 64, 66, 67, 68, 69, 71, 72, 73, 74, 75, 76, 79, 80, 81, 82, 83, 85, 86, 87, 88, 89, 90
  • Base 92: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61, 63, 65, 67, 71, 73, 75, 77, 79, 81, 83, 85, 87, 89, 91
  • Base 93: 1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16, 17, 19, 20, 22, 23, 25, 26, 28, 29, 32, 34, 35, 37, 38, 40, 41, 43, 44, 46, 47, 49, 50, 52, 53, 55, 56, 58, 59, 61, 64, 65, 67, 68, 70, 71, 73, 74, 76, 77, 79, 80, 82, 83, 85, 86, 88, 89, 91, 92
  • Base 94: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 49, 51, 53, 55, 57, 59, 61, 63, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 89, 91, 93
  • Base 95: 1, 2, 3, 4, 6, 7, 8, 9, 11, 12, 13, 14, 16, 17, 18, 21, 22, 23, 24, 26, 27, 28, 29, 31, 32, 33, 34, 36, 37, 39, 41, 42, 43, 44, 46, 47, 48, 49, 51, 52, 53, 54, 56, 58, 59, 61, 62, 63, 64, 66, 67, 68, 69, 71, 72, 73, 74, 77, 78, 79, 81, 82, 83, 84, 86, 87, 88, 89, 91, 92, 93, 94
  • Base 96: 1, 5, 7, 11, 13, 17, 19, 23, 25, 29, 31, 35, 37, 41, 43, 47, 49, 53, 55, 59, 61, 65, 67, 71, 73, 77, 79, 83, 85, 89, 91, 95
  • Base 97: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96
  • Base 98: 1, 3, 5, 9, 11, 13, 15, 17, 19, 23, 25, 27, 29, 31, 33, 37, 39, 41, 43, 45, 47, 51, 53, 55, 57, 59, 61, 65, 67, 69, 71, 73, 75, 79, 81, 83, 85, 87, 89, 93, 95, 97
  • Base 99: 1, 2, 4, 5, 7, 8, 10, 13, 14, 16, 17, 19, 20, 23, 25, 26, 28, 29, 31, 32, 34, 35, 37, 38, 40, 41, 43, 46, 47, 49, 50, 52, 53, 56, 58, 59, 61, 62, 64, 65, 67, 68, 70, 71, 73, 74, 76, 79, 80, 82, 83, 85, 86, 89, 91, 92, 94, 95, 97, 98
  • Base 100: 1, 3, 7, 9, 11, 13, 17, 19, 21, 23, 27, 29, 31, 33, 37, 39, 41, 43, 47, 49, 51, 53, 57, 59, 61, 63, 67, 69, 71, 73, 77, 79, 81, 83, 87, 89, 91, 93, 97, 99

To be continued:

Dan - July 8, 2007 12:35 AM (GMT)
In summary, the probability that you can use the last digit test to prove that a number isn't prime is:
  • Base 2: 0.500000
  • Base 3: 0.333333
  • Base 4: 0.500000
  • Base 5: 0.200000
  • Base 6: 0.666667
  • Base 7: 0.142857
  • Base 8: 0.500000
  • Base 9: 0.333333
  • Base 10: 0.600000
  • Base 11: 0.090909
  • Base 12: 0.666667
  • Base 13: 0.076923
  • Base 14: 0.571429
  • Base 15: 0.466667
  • Base 16: 0.500000
  • Base 17: 0.058824
  • Base 18: 0.666667
  • Base 19: 0.052632
  • Base 20: 0.600000
  • Base 21: 0.428571
  • Base 22: 0.545455
  • Base 23: 0.043478
  • Base 24: 0.666667
  • Base 25: 0.200000
  • Base 26: 0.538462
  • Base 27: 0.333333
  • Base 28: 0.571429
  • Base 29: 0.034483
  • Base 30: 0.733333
  • Base 31: 0.032258
  • Base 32: 0.500000
  • Base 33: 0.393939
  • Base 34: 0.529412
  • Base 35: 0.314286
  • Base 36: 0.666667
  • Base 37: 0.027027
  • Base 38: 0.526316
  • Base 39: 0.384615
  • Base 40: 0.600000
  • Base 41: 0.024390
  • Base 42: 0.714286
  • Base 43: 0.023256
  • Base 44: 0.545455
  • Base 45: 0.466667
  • Base 46: 0.521739
  • Base 47: 0.021277
  • Base 48: 0.666667
  • Base 49: 0.142857
  • Base 50: 0.600000
  • Base 51: 0.372549
  • Base 52: 0.538462
  • Base 53: 0.018868
  • Base 54: 0.666667
  • Base 55: 0.272727
  • Base 56: 0.571429
  • Base 57: 0.368421
  • Base 58: 0.517241
  • Base 59: 0.016949
  • Base 60: 0.733333
  • Base 61: 0.016393
  • Base 62: 0.516129
  • Base 63: 0.428571
  • Base 64: 0.500000
  • Base 65: 0.261538
  • Base 66: 0.696970
  • Base 67: 0.014925
  • Base 68: 0.529412
  • Base 69: 0.362319
  • Base 70: 0.657143
  • Base 71: 0.014085
  • Base 72: 0.666667
  • Base 73: 0.013699
  • Base 74: 0.513514
  • Base 75: 0.466667
  • Base 76: 0.526316
  • Base 77: 0.220779
  • Base 78: 0.692308
  • Base 79: 0.012658
  • Base 80: 0.600000
  • Base 81: 0.333333
  • Base 82: 0.512195
  • Base 83: 0.012048
  • Base 84: 0.714286
  • Base 85: 0.247059
  • Base 86: 0.511628
  • Base 87: 0.356322
  • Base 88: 0.545455
  • Base 89: 0.011236
  • Base 90: 0.733333
  • Base 91: 0.208791
  • Base 92: 0.521739
  • Base 93: 0.354839
  • Base 94: 0.510638
  • Base 95: 0.242105
  • Base 96: 0.666667
  • Base 97: 0.010309
  • Base 98: 0.571429
  • Base 99: 0.393939
  • Base 100: 0.600000

Ellume - July 8, 2007 04:23 AM (GMT)
Fantastic Dan. I appreciate the info. :lol: I hope others find this as useful as I have.

Edit: I think it is interesting that base 30, 60, and 90 are all tied for top probability. I do think I will be moving on from prime numbers however and catching up on some trig stuff. I am very new to base number thinking, I'm looking forward to learning more. Really I think base 12 is already become much more common, I would be surprised if humanity chose not to switch to it. B)

Shaun - July 8, 2007 10:12 AM (GMT)
Slightly off topic ...

The value for base 97 reminds me that 1/97 in base ten can be expressed as a series of powers of 3: 1 3 9 27 81 ...
0.01 03 09 27
though the pattern is not as obvious when the powers go into three and more figures
It's a GP
0.01 + 0.00 03 + 0.00 00 09 + 0.00 00 00 27 + 0.00 00 00 00 81 + 0.00 00 00 00 02 43 + ...

Same sort of thing happens in other bases for the reciprocal of (100 - 3) expressed in base 10 where 10 is any base.

If you like playing with number theory and series this is an interesting area. (There's my results in pdf format about them on the DSGB site - see reciprocal patterns)

Dan - July 8, 2007 04:40 PM (GMT)
QUOTE (Ellume @ Jul 7 2007, 10:23 PM)
Edit: I think it is interesting that base 30, 60, and 90 are all tied for top probability.

More generally, all bases with the same prime factors have the same ratio.

icarus - July 9, 2007 05:00 PM (GMT)
One interesting observation is that all primes greater than 3 occur either 1 step before or one step after a multiple of six. So any given prime may be regarded like:

41 = (6*7)-1
43 = (6*7)+1
47 = (6*8)-1

As all primes greater than 3 are confined to 1 and 5 modulus 6.
See wikipedia's "sieve of eratosthenes" and related articles for how 6 and 60 is used to help determine primes.

I think there was another good post on this site regarding this thread.

Dan - July 10, 2007 01:07 AM (GMT)
QUOTE (icarus @ Jul 9 2007, 11:00 AM)
One interesting observation is that all primes greater than 3 occur either 1 step before or one step after a multiple of six. So any given prime may be regarded like:

41 = (6*7)-1
43 = (6*7)+1
47 = (6*8)-1

As all primes greater than 3 are confined to 1 and 5 modulus 6.


Right: A prime modulo 6 can't be 0, 2, or 4 (i.e., a multiple of 2); or 0 or 3 (i.e., a multiple of 3), so that just leaves 1 and 5.

QUOTE (icarus @ Jul 9 2007, 11:00 AM)
See wikipedia's "sieve of eratosthenes" and related articles for how 6 and 60 is used to help determine primes.


Well, the set {2, 3, 6ną1} is what's left over after the second pass of the Sieve of Eratosthenes. Wasn't aware of this significance of 60 until I read the article on the Sieve of Atkin.

BTW, here's my code for the Sieve of Eratosthenes as I attempt to learn D:

CODE
import std.conv;
import std.stdio;

int[] primes(int max)
{
  int numPrimes = 0;
  bit[] compFlags = new bit[max];
  int nextPrime = 2;

  while (nextPrime < max)
  {
     ++numPrimes;

     // mark all multiples of nextPrime as composite
     for (int multiple = nextPrime * 2; multiple < max; multiple += nextPrime)
     {
        compFlags[multiple] = true;
     }

     // search for the next prime
     do
     {
        ++nextPrime;
     }
     while (nextPrime < max && compFlags[nextPrime]);
  }

  // scan through compFlags looking for prime numbers,
  // storing the result in an array
  int[] result = new int[numPrimes];

  for (int num = 2, index = 0; num < max; num++)
  {
     if (!compFlags[num])
     {
        result[index++] = num;
     }
  }

  return result;
}

void main(char[][] args)
{
  if (args.length == 2)
  {
     foreach (prime; primes(toInt(args[1])))
     {
        writefln(prime);
     }
  }
  else
  {
     writefln("Usage: primes MAX");
  }
}

uaxuctum - October 3, 2007 06:26 PM (GMT)
QUOTE (Dan @ Jul 8 2007, 04:40 PM)
QUOTE (Ellume @ Jul 7 2007, 10:23 PM)
Edit: I think it is interesting that base 30, 60, and 90 are all tied for top probability.

More generally, all bases with the same prime factors have the same ratio.

Still more generally:

Not only the probability is related to the prime decomposition of the base, it can also be obtained through precise formulae. Here's the ones I've managed to find out so far:

- For bases with one prime factor, n, the probability is given by the formula: 1/n; that is, the reciprocal of the prime.
- For bases with two prime factors, n and m, the probability is: (n+m-1)/(n*m).
- For bases with three prime factors, n, m and p (with p > m > n), the provided data are not enough to arrive at a general formula, but for n = 2 the formula seems to be: [(m*p) + (m+p-1)]/(n*m*p).

Additional insight:

The probabilities reach relative maxima at the first element in each series if you order it by ascending primes, and they increase as the number of primes increases. That is, the maximum probability for the series of "uniprimal" bases (bases with only one distinct prime factor) is at the 2-smooth bases (2, 4, 8, 16..., prime factor 2) with a probability of 0.5; for the series of "biprimal" bases, the maximum is at the 3-smooth bases (6, 12, 18, 24..., prime factors 2 and 3) with a probability of 0.6667, which is greater than the maximum for uniprimal bases; for the series of "triprimal" bases, the maximum is at the 5-smooth bases (30, 60, 90..., prime factors 2, 3 and 5) with a probability of 0.7333, greater than that for biprimal bases; etc. The probability for the first "quadriprimal" base (base 2*3*5*7 = base 210) should expectably be greater than 0.7333.

Then, from each relative maximum, the probabilities in each series keep descending; e.g., the biprimal series in ascending order is: 2*3, 2*5, 2*7, 2*11, 2*13, ..., 3*5, 3*7, 3*11, 3*13, ..., 5*7, 5*11, 5*13, ..., 7*11, 7*13, ... (expressed in exponential prime-factorization notation: [1,1,0,0,0,0,...], [1,0,1,0,0,0,...], [1,0,0,1,0,0,...], [1,0,0,0,1,0,...], [1,0,0,0,0,1,...], ..., [0,1,1,0,0,0,...], [0,1,0,1,0,0,...], [0,1,0,0,1,0,...], [0,1,0,0,0,1,...], ..., [0,0,1,1,0,0,...], [0,0,1,0,1,0,...], [0,0,1,0,0,1,...], ..., [0,0,0,1,1,0,...], [0,0,0,1,0,1,...], ...), and their respective probabilites are: 0.6666, 0.6, 0.5714, 0.5454, 0.5384, ..., 0.4666, 0.4286, 0.3939, 0.3846, ..., 0.3143, 0.2727, 0.2615, ..., 0.2208, 02088, ...

Dan - August 24, 2008 05:48 PM (GMT)
QUOTE (uaxuctum @ Oct 3 2007, 12:26 PM)
- For bases with three prime factors, n, m and p (with p > m > n), the provided data are not enough to arrive at a general formula, but for n = 2 the formula seems to be: [(m*p) + (m+p-1)]/(n*m*p).

For n=3, the formula is 1-(1-1/n)*(1-1/m)*(1-1/p).




Hosted for free by InvisionFree