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

  • Home
  • SEARCH
  • 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 1035087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:29:36+00:00 2026-05-16T14:29:36+00:00

This is not a coding question, but am hoping that someone has come across

  • 0

This is not a coding question, but am hoping that someone has come across this in the forums here. I am using Python to run some simulations. I need to run many replications using different random number seeds. I have two questions:

  1. Are negative numbers okay as seeds?
  2. Should I keep some distance in the seeds?

Currently I am using random.org to create 50 numbers between -100000 and +100000, which I use as seeds. Is this okay?

Thanks.

  • 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-16T14:29:37+00:00Added an answer on May 16, 2026 at 2:29 pm

    Is it important that your simulations are repeatable? The canonical way to seed a RNG is by using the current system time, and indeed this is random’s default behaviour:

    random.seed([x])

    Initialize the basic random number generator. Optional argument x can be
    any hashable object. If x is omitted
    or None, current system time is used;
    current system time is also used to
    initialize the generator when the
    module is first imported.

    I would only deviate from this behaviour if repeatability is important. If it is important, then your random.org seeds are a reasonable solution.

    Should I keep some distance in the seeds?

    No. For a good quality RNG, the choice of seed will not affect the quality of the output. A set of seeds [1,2,3,4,5,6,7,8,9,10] should result in the same quality of randomness as any random selection of 10 ints. But even if a selection of random uniformly-distributed seeds were desirable, maintaining some distance would break that distribution.

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

Sidebar

Related Questions

Sorry for this not being a real question, but Sometime back i remember seeing
This is not exactly a programming question, but it's highly related. We are writing
This may sound as a non related coding question but it's directly related :
Google's not coming to my rescue, here, and I just know this is the
This is not a new topic, but I am curious how everyone is handling
This is not a technical problem, but very annoying. Does anyone know how to
This may not be the correct way to use controllers, but I did notice
This is not yet particularly programing related but, I am very interested in how
[Edit #3] - to anyone reading this question: do not under any circumstance use
Greetings all, This has confused me ever since I first started coding in C#.

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.