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
  • 2 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

This not a programming question but Most of the programmers using Eclipse should have
I've posted this question in gis.stackexchange earlier but I'm not sure if that was
Ok so this question is not so much about the coding procedure, but more
I'm trying to use this coding but its not processing, and its not outputing
This might be an odd question, but it has actually caused me some headache.
This may sound as a non related coding question but it's directly related :
This is not a literal coding question, I'm just wondering, what's the point of
It's not really a coding question, but I don't know where to ask it
I'm sure this is a stupid question but for some reason its not showing
I think these are pretty close to being non-coding question, but it has everything

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.