Skip to content

galloty/weight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

weight

Compute the weight of a sequence of primes of the form k · bn + a

About

Let k ≥ 1, b ≥ 2 and a ≠ 0 be integers. We search for an estimate of the number of primes in the sequence of numbers of the form P(n) = k · bn + a for 1 ≤ nN. It is expected to be C(kba) · Sum1 ≤ n ≤ N 1 / log P(n).

weight computes an approximation of the constant C(kba).

It is a PARI/GP program. It can be executed in Run PARI/GP in your browser if N0 and P0 are not too large (for instance, N0 = P0 = 400,000).

See Yves Gallot, On the number of primes in a sequence for more details and the definition of N0 and P0.

About

Compute the weight of a sequence of primes of the form k · b^n + a

Topics

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors