Monday, 8 May 2023

Brazilian Primes

There's only one reference that I've made to Brazilian primes in this blog and that was in a post titled Fermat Primes and Brazilian Numbers on February 26th 2018 which is now over five years ago. I was reminded of them once again when a number associated with my diurnal age, 27061, was identified as a Brazilian prime. I wrote the following about Brazilian numbers in that earlier post:

These numbers are listed in OEIS A125134 and defined as:

Numbers n such that there is a natural number b with 1<b<n1 such that the representation of n in base b has all equal digits.

All even numbers 8 are Brazilian numbers because: 2p=2(p1)+2=22

in base p1 if p1>2 and that is true if p4. 

The odd Brazilian numbers are listed in OEIS A257521 and are fairly common, with some being prime numbers:

7, 13, 15, 21, 27, 31, 33, 35, 39, 43, 45, 51, 55, 57, 63, 65, 69, 73, 75, 77, 81, 85, 87, 91, 93, 95, 99, 105, 111, 115, 117, 119, 121, 123, 125, 127, 129, 133, 135, 141, 143, 145, 147, 153, 155, 157, 159, 161, 165, 171, 175, 177, 183, 185, 187, 189, 195, ...

As an example, take 27 in the above sequence which can be expressed as 338. As for the even numbers, take a number like 28. It can be written as 2 x (14-1) + 2 and thus can be represented as 2213.

Brazilian primes are simply Brazilian numbers that are prime. These constitute OEIS A085104:


 A085104

Primes of the form 1+n+n2+n3+...+nk where n>1 and k>1.


For example, in the case of 27061 we have: 27061=1+164+1642=1642+164+1=111164

These primes can be generated using this permalink. The initial members of the sequence are:

7, 13, 31, 31, 43, 73, 127, 157, 211, 241, 307, 421, 463, 601, 757, 1093, 1123, 1483, 1723, 2551, 2801, 2971, 3307, 3541, 3907, 4423, 4831, 5113, 5701, 6007, 6163, 6481, 8011, 8191, 8191, 9901, 10303, 11131, 12211, 12433, 13807, 14281, 17293, 19183, 19531, 20023, 20593, 21757, 22621, 22651, 23563, 24181, 26083, 26407, 27061, 28057, 28393, 30103, 30941, 31153, 35533, 35911, 37057, 37831, 41413, 42643, 43891, 46441, 47743, 53593, 55933, 55987, 60271, 60763, 71023, 74257, 77563, 78121, 82657, 83233, 84391, 86143, 88741, 95791, 98911

The OEIS comments to this sequence are informative:

The number of terms k+1 is always an odd prime, but this is not enough to guarantee a prime, for example 111 = 1 + 10 + 100 = 3 x 37.

The inverses of the Brazilian primes form a convergent series; the sum is slightly larger than 0.33.

It is not known whether there are infinitely many Brazilian primes. 

Brazilian primes can be written in the form:

(np1)(n1 where p is an odd prime and n>1

The number of terms less than 10n are 1, 5, 14, 34, 83, 205, 542, 1445, 3880, 10831, 30699, 88285, ...

Brazilian primes fall into two classes:

  • when n is prime, we get sequence OEIS A023195 except 3 which is not Brazilian,
  • when n is composite, we get sequence OEIS A285017.

The conjecture that "No Sophie Germain prime is Brazilian (prime)"  is false because:a(856)=28792661=1+73+732+733+734=(11111)73

and 28792661 is the 141385-th Sophie Germain prime. 

No comments:

Post a Comment