SlideShare a Scribd company logo
1 of 8
Download to read offline
Starting with an n digit number, squaring it
and taking the n digit in the middle as the
next number, which is then squared to
obtain the next number.


E.g.: Seed= 5673, Square= 32182929.
1829² = 3345241…
Converge on a constant.
• Seed= 2500, Square= 6250000,
  2500, 2500…
• Seed= 2504, Square= 6270016,
  2700²= 7290000, 2900²=
  8410000…
Starting with an n digit number, squaring it
and taking the n digit in the middle as the
random number.


For the next seed, add the removing higher
order and lower order digits to the middle n
digit number (random number), which is
then squared to obtain the next number.
Seed, X0= 5673.

5673²= 32182929. X1= 1829+3+2+2+9= 1845.

1845²= 3404025. X2= 4040+3+2+5= 4050.

4050²= 16402500. X3= 4025+ 1+6= 4032.

Random Numbers= 1829, 4040, 4025, 2570…
Seed, X0= 5673

MID-SQUARE                Modified MOD-SQUARE
 KS Test, D= 0.2536       KS Test, D= 0.3282
 Chi-Square, X²0= 5.29    Chi-Square, X²0= 5.31
 Runs Up & Down, Z= -     Runs Up & Down, Z=
  0.366                     0.188
 Runs above & Below       Runs above & Below
  mean, Z=0.844             mean, Z= -0.161
Random Number Generator
Random Number Generator

More Related Content

What's hot

Sas credit scorecards
Sas credit scorecardsSas credit scorecards
Sas credit scorecards
TEMPLA73
 
Basics of Image Processing using MATLAB
Basics of Image Processing using MATLABBasics of Image Processing using MATLAB
Basics of Image Processing using MATLAB
vkn13
 
Image processing spatialfiltering
Image processing spatialfilteringImage processing spatialfiltering
Image processing spatialfiltering
John Williams
 

What's hot (20)

AI 7 | Constraint Satisfaction Problem
AI 7 | Constraint Satisfaction ProblemAI 7 | Constraint Satisfaction Problem
AI 7 | Constraint Satisfaction Problem
 
Sas credit scorecards
Sas credit scorecardsSas credit scorecards
Sas credit scorecards
 
Curve fitting
Curve fittingCurve fitting
Curve fitting
 
Implements the histogram equalization algorithm
Implements the histogram equalization algorithmImplements the histogram equalization algorithm
Implements the histogram equalization algorithm
 
Gradient-based optimization for Deep Learning: a short introduction
Gradient-based optimization for Deep Learning: a short introductionGradient-based optimization for Deep Learning: a short introduction
Gradient-based optimization for Deep Learning: a short introduction
 
Image compression .
Image compression .Image compression .
Image compression .
 
Python Scipy Numpy
Python Scipy NumpyPython Scipy Numpy
Python Scipy Numpy
 
Basics of Image Processing using MATLAB
Basics of Image Processing using MATLABBasics of Image Processing using MATLAB
Basics of Image Processing using MATLAB
 
Confusion Matrix Explained
Confusion Matrix ExplainedConfusion Matrix Explained
Confusion Matrix Explained
 
Image processing spatialfiltering
Image processing spatialfilteringImage processing spatialfiltering
Image processing spatialfiltering
 
Presentation1 (2)
Presentation1 (2)Presentation1 (2)
Presentation1 (2)
 
Image Enhancement - Point Processing
Image Enhancement - Point ProcessingImage Enhancement - Point Processing
Image Enhancement - Point Processing
 
Frequency Distributions for Organizing and Summarizing
Frequency Distributions for Organizing and Summarizing Frequency Distributions for Organizing and Summarizing
Frequency Distributions for Organizing and Summarizing
 
Introduction to Machine Learning Classifiers
Introduction to Machine Learning ClassifiersIntroduction to Machine Learning Classifiers
Introduction to Machine Learning Classifiers
 
knapsack problem
knapsack problemknapsack problem
knapsack problem
 
Image restoration
Image restorationImage restoration
Image restoration
 
HANDWRITTEN DIGIT RECOGNITION USING k-NN CLASSIFIER
HANDWRITTEN DIGIT RECOGNITION USING k-NN CLASSIFIERHANDWRITTEN DIGIT RECOGNITION USING k-NN CLASSIFIER
HANDWRITTEN DIGIT RECOGNITION USING k-NN CLASSIFIER
 
Image seg using_thresholding
Image seg using_thresholdingImage seg using_thresholding
Image seg using_thresholding
 
Support Vector Machines ( SVM )
Support Vector Machines ( SVM ) Support Vector Machines ( SVM )
Support Vector Machines ( SVM )
 
Fundamentals and image compression models
Fundamentals and image compression modelsFundamentals and image compression models
Fundamentals and image compression models
 

Similar to Random Number Generator

Maths formula by viveksingh698@gmail.com
Maths formula by viveksingh698@gmail.comMaths formula by viveksingh698@gmail.com
Maths formula by viveksingh698@gmail.com
vivek698
 
Directions Please show all of your work for each problem. If app.docx
Directions Please show all of your work for each problem.  If app.docxDirections Please show all of your work for each problem.  If app.docx
Directions Please show all of your work for each problem. If app.docx
duketjoy27252
 

Similar to Random Number Generator (20)

SQUARES AND SQUARE ROOTS.pptx powerpoint presentation square and square roots...
SQUARES AND SQUARE ROOTS.pptx powerpoint presentation square and square roots...SQUARES AND SQUARE ROOTS.pptx powerpoint presentation square and square roots...
SQUARES AND SQUARE ROOTS.pptx powerpoint presentation square and square roots...
 
square and square roots
square and square rootssquare and square roots
square and square roots
 
5 chap
5 chap5 chap
5 chap
 
Rational numbers
Rational numbersRational numbers
Rational numbers
 
1. basic concepts (1)
1. basic concepts (1)1. basic concepts (1)
1. basic concepts (1)
 
Mathinik
MathinikMathinik
Mathinik
 
07 cube and cube roots
07 cube and cube roots07 cube and cube roots
07 cube and cube roots
 
C3 3.4
C3 3.4C3 3.4
C3 3.4
 
Vedic ganit
Vedic ganitVedic ganit
Vedic ganit
 
Benefits of Vedic Mathematics
Benefits of Vedic MathematicsBenefits of Vedic Mathematics
Benefits of Vedic Mathematics
 
Digital textbook
Digital textbookDigital textbook
Digital textbook
 
Mathematics mathematics elementary
Mathematics   mathematics elementaryMathematics   mathematics elementary
Mathematics mathematics elementary
 
Maths formula by viveksingh698@gmail.com
Maths formula by viveksingh698@gmail.comMaths formula by viveksingh698@gmail.com
Maths formula by viveksingh698@gmail.com
 
7. problem on numbers
7. problem on numbers7. problem on numbers
7. problem on numbers
 
7 chap
7 chap7 chap
7 chap
 
Directions Please show all of your work for each problem. If app.docx
Directions Please show all of your work for each problem.  If app.docxDirections Please show all of your work for each problem.  If app.docx
Directions Please show all of your work for each problem. If app.docx
 
Singapore Math Mental Math Strategies.pdf
Singapore Math Mental Math Strategies.pdfSingapore Math Mental Math Strategies.pdf
Singapore Math Mental Math Strategies.pdf
 
Math Short Tricks ( english)
Math Short Tricks ( english)Math Short Tricks ( english)
Math Short Tricks ( english)
 
Vedic maths
Vedic mathsVedic maths
Vedic maths
 
Squaring of numbers
Squaring of numbersSquaring of numbers
Squaring of numbers
 

More from Kailas Sree Chandran

More from Kailas Sree Chandran (20)

Cleaning-Casting-Defects-and-Die-Castings-CleaningFettling-of-Castings
Cleaning-Casting-Defects-and-Die-Castings-CleaningFettling-of-CastingsCleaning-Casting-Defects-and-Die-Castings-CleaningFettling-of-Castings
Cleaning-Casting-Defects-and-Die-Castings-CleaningFettling-of-Castings
 
Computer basics
Computer basicsComputer basics
Computer basics
 
Project
ProjectProject
Project
 
Hybrid Car
Hybrid CarHybrid Car
Hybrid Car
 
Oil Drilling
Oil DrillingOil Drilling
Oil Drilling
 
V22 Osprey
V22 OspreyV22 Osprey
V22 Osprey
 
Apache Helicopter
Apache HelicopterApache Helicopter
Apache Helicopter
 
Go Kart Project
Go Kart ProjectGo Kart Project
Go Kart Project
 
Quasi Turbine Engine
Quasi Turbine EngineQuasi Turbine Engine
Quasi Turbine Engine
 
Pioneers In Industrial Engineering
Pioneers In Industrial EngineeringPioneers In Industrial Engineering
Pioneers In Industrial Engineering
 
Metrology Assignment
Metrology AssignmentMetrology Assignment
Metrology Assignment
 
Pro Model
Pro ModelPro Model
Pro Model
 
Metrology Assignment Ppt
Metrology Assignment PptMetrology Assignment Ppt
Metrology Assignment Ppt
 
Software Lab Mini Project
Software Lab Mini ProjectSoftware Lab Mini Project
Software Lab Mini Project
 
PPT on Statistical - Cent%
PPT on Statistical - Cent%PPT on Statistical - Cent%
PPT on Statistical - Cent%
 
Quality Circles
Quality CirclesQuality Circles
Quality Circles
 
Overall Equipment Effectiveness
Overall Equipment EffectivenessOverall Equipment Effectiveness
Overall Equipment Effectiveness
 
Input Devices
Input DevicesInput Devices
Input Devices
 
Cost & Reliability
Cost & ReliabilityCost & Reliability
Cost & Reliability
 
Concept of ISO
Concept of ISOConcept of ISO
Concept of ISO
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Recently uploaded (20)

Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 

Random Number Generator

  • 1.
  • 2. Starting with an n digit number, squaring it and taking the n digit in the middle as the next number, which is then squared to obtain the next number. E.g.: Seed= 5673, Square= 32182929. 1829² = 3345241…
  • 3. Converge on a constant. • Seed= 2500, Square= 6250000, 2500, 2500… • Seed= 2504, Square= 6270016, 2700²= 7290000, 2900²= 8410000…
  • 4. Starting with an n digit number, squaring it and taking the n digit in the middle as the random number. For the next seed, add the removing higher order and lower order digits to the middle n digit number (random number), which is then squared to obtain the next number.
  • 5. Seed, X0= 5673. 5673²= 32182929. X1= 1829+3+2+2+9= 1845. 1845²= 3404025. X2= 4040+3+2+5= 4050. 4050²= 16402500. X3= 4025+ 1+6= 4032. Random Numbers= 1829, 4040, 4025, 2570…
  • 6. Seed, X0= 5673 MID-SQUARE Modified MOD-SQUARE  KS Test, D= 0.2536  KS Test, D= 0.3282  Chi-Square, X²0= 5.29  Chi-Square, X²0= 5.31  Runs Up & Down, Z= -  Runs Up & Down, Z= 0.366 0.188  Runs above & Below  Runs above & Below mean, Z=0.844 mean, Z= -0.161