IMPLEMENTATION OF LUCAS MATHEMATICAL MODEL TO CHECK THE GIVEN NUMBER IS PRIME OR NOT. FURTHER COMPARISON BETWEEN LUCAS METHODOLOGY OF STORING PRIME NUMBERS ON SECONDARY STORAGE DEVICE WITH STORING THE NUMBERS ON PRIMARY STORAGE DEVICE. - A CASE STUDY.


Cadet N Akshayan
HOD, Sainik School Amaravthinagar
Abstract
In computer science efficiency of a program solely depends on time factor of processing statement or statement block. Further the amount of memory it is being used for processing also matters in calculating the space complexity of the program. All computer languages support sequencing, selection and iteration and file handling methods. The syntax and semantics in a language differs because of construction compiler or an interpreter is different in nature. This manuscript specifically examines the execution of checking the given number fall under category of prime number or not using Lucas Mathematical Model. A Lucas prime sequence generated and stored on secondary storage device to check the prime number and further comparing with the normal approach of checking a prime number. In addition to this time complexity and space complexity of Lucas prime sequence is examined. The purpose is to provide a alternative methodology for checking the prime numbers.
Keywords: Lucas Mathematical Model (LMM), Lucas Numbers(ln), Lucas Sequence(ls), Prime Numbers (pn), Fibonacci numbers(fn), Runtime Complexity (rc), Big OO(n), Big Theta Θ(n), Big Omega Ω(n), Generalised approach (ga)
Journal Name :
EPRA International Journal of Research & Development (IJRD)

VIEW PDF
Published on : 2022-04-12

Vol : 7
Issue : 4
Month : April
Year : 2022
Copyright © 2024 EPRA JOURNALS. All rights reserved
Developed by Peace Soft