×

Method for on-board prime number generation

  • US 10,447,477 B2
  • Filed: 11/25/2015
  • Issued: 10/15/2019
  • Est. Priority Date: 12/18/2014
  • Status: Active Grant
First Claim
Patent Images

1. Method to generate prime number on board a portable computing device, said method comprising the steps of, each time at least one prime number is requested:

  • store, by the portable computing device, a predefined number of pre-calculated prime numbers, said pre-calculated prime numbers being available to be output in case no other calculated prime number is available, wherein the predefined number of the pre-calculated prime numbers is determined depending on calculation resources of the portable computing device and generation duration constraints from an application requesting the generation;

    when available, retrieve, by the portable computing device, results from previously performed derivation calculation or, if not, select a start point for derivation;

    process, by the portable computing device, derivation calculation to converge towards a prime number;

    if a prime number is found, store, by the portable computing device, the prime number and restart derivation calculation from a new start point;

    stop, by the portable computing device, continuation of the derivation calculation after one or more iterations of the derivation calculation and after a predetermined amount of time;

    store, by the portable computing device, intermediate results to be used a next time a prime number will be requested; and

    output, by the portable computing device, a stored prime number different from the intermediate results.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×