Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7187379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T18:49:54+00:00 2026-05-28T18:49:54+00:00

Can someone suggest an algorithm to find a random number within say a limit

  • 0

Can someone suggest an algorithm to find a random number within say a limit ‘n’, that could be computed in least computation time?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T18:49:55+00:00Added an answer on May 28, 2026 at 6:49 pm

    The Complementary-Multiply-with-Carry random number generator has a long period and with comparatively simple update operations. It strikes a nice balance between speed and quality.

    To see some working code, there is a Python recipe for CMC.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can someone suggest an algorithm to find out the shortest distance pair of unsorted,
Can someone suggest a fast 2 way encryption algorithm for long ints? My candidates
Is there a log4net version built against Silverlight somewhere? Failing that, can someone suggest
Can someone suggest an ASP.NET source code editor control that I can integrate into
Can someone suggest that out of the two mentioned (odd?) combinations, which is less
Can someone suggest me a book\s that i can read and learn about C++
I am looking to research an appropriate algorithm for my purpose, can someone suggest
can someone suggest the ideal Unit test cases that may fit in across each
Can someone suggest for me only one git gui client on windows that is
Can someone suggest articles that explain the concept of Homoiconicity, especially using Clojure. Why

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.