To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time.

4,5
Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
Live Statistics
English Articles
Improved in 24 Hours
Added in 24 Hours
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.
.
Leo
Newton
Brights
Milds

Pillai sequence

From Wikipedia, the free encyclopedia

The Pillai sequence is the sequence of integers that have a record number of terms in their greedy representations as sums of prime numbers (and one). It is named after Subbayya Sivasankaranarayana Pillai, who first defined it in 1930.[1]

It would follow from Goldbach's conjecture that every integer greater than one can be represented as a sum of at most three prime numbers. However, finding such a representation could involve solving instances of the subset sum problem, which is computationally difficult. Instead, Pillai considered the following simpler greedy algorithm for finding a representation of as a sum of primes: choose the first prime in the sum to be the largest prime that is at most , and then recursively construct the remaining sum recursively for . If this process reaches zero, it halts. And if it reaches one instead of zero, it must include one in the sum (even though it is not prime), and then halt. For instance, this algorithm represents 122 as 113 + 7 + 2, even though the shorter representations 61 + 61 or 109 + 13 are also possible.

The th number in the Pillai sequence is the smallest number whose greedy representation as a sum of primes (and one) requires terms. These numbers are

0, 1, 4, 27, 1354, 401429925999155061, ... (sequence A066352 in the OEIS)

Each number in the sequence is the sum of the previous number with a prime number , the smallest prime whose following prime gap is larger than .[2] For instance, the number 27 in the sequence is 4 + 23, where the first prime gap larger than 4 is the one between 23 and 29.

Because the prime numbers become less dense as they become larger (as quantified by the prime number theorem), there is always a prime gap larger than any term in the Pillai sequence, so the sequence continues to an infinite number of terms. However, the terms in the sequence grow very rapidly. It has been estimated that expressing the next term in the sequence would require "hundreds of millions of digits".[3]

References

  1. ^ Pillai, S. S. (1930), "An arithmetical function concerning primes", Annamalai University Journal: 159–167. As cited by Luca & Thangadurai (2009).
  2. ^ Luca, Florian; Thangadurai, Ravindranathan (2009), "On an arithmetic function considered by Pillai", Journal de Théorie des Nombres de Bordeaux, 21 (3): 693–699, doi:10.5802/jtnb.695, MR 2605540
  3. ^ Sloane, N. J. A. (ed.), "Sequence A066352 (Pillai sequence)", The On-Line Encyclopedia of Integer Sequences, OEIS Foundation
This page was last edited on 29 January 2023, at 17:01
Basis of this page is in Wikipedia. Text is available under the CC BY-SA 3.0 Unported License. Non-text media are available under their specified licenses. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc. WIKI 2 is an independent company and has no affiliation with Wikimedia Foundation.