SlideShare a Scribd company logo
1) Create a SAGE function PI ( n ) prints all prime numbers below n . 2) Create a SAGE function
P n ( n ) that prints the first n prime numbers

More Related Content

More from leelaelec

1) The security of connected devices is paramount to the success of th.pdf
1) The security of connected devices is paramount to the success of th.pdf1) The security of connected devices is paramount to the success of th.pdf
1) The security of connected devices is paramount to the success of th.pdf
leelaelec
 
1) The monogastric animal's stomach is divided into four major areas t.pdf
1) The monogastric animal's stomach is divided into four major areas t.pdf1) The monogastric animal's stomach is divided into four major areas t.pdf
1) The monogastric animal's stomach is divided into four major areas t.pdf
leelaelec
 
1) Set the text color to navy- for all elements- 2) Set the text color.pdf
1) Set the text color to navy- for all elements- 2) Set the text color.pdf1) Set the text color to navy- for all elements- 2) Set the text color.pdf
1) Set the text color to navy- for all elements- 2) Set the text color.pdf
leelaelec
 
1) Platt Corporation paid $87-500 for a 70- interest in Suve Corporati.pdf
1) Platt Corporation paid $87-500 for a 70- interest in Suve Corporati.pdf1) Platt Corporation paid $87-500 for a 70- interest in Suve Corporati.pdf
1) Platt Corporation paid $87-500 for a 70- interest in Suve Corporati.pdf
leelaelec
 
1) Solve the generalized eigenvalue problem- Reference from 114- - c.pdf
1) Solve the generalized eigenvalue problem-   Reference from 114- - c.pdf1) Solve the generalized eigenvalue problem-   Reference from 114- - c.pdf
1) Solve the generalized eigenvalue problem- Reference from 114- - c.pdf
leelaelec
 
1) Please share an experience that you have working with individuals f.pdf
1) Please share an experience that you have working with individuals f.pdf1) Please share an experience that you have working with individuals f.pdf
1) Please share an experience that you have working with individuals f.pdf
leelaelec
 
1) How do fossils help geologists determine ages of rocks- 2) Why is r.pdf
1) How do fossils help geologists determine ages of rocks- 2) Why is r.pdf1) How do fossils help geologists determine ages of rocks- 2) Why is r.pdf
1) How do fossils help geologists determine ages of rocks- 2) Why is r.pdf
leelaelec
 
1) Income from an employment may be the only source for some individua.pdf
1) Income from an employment may be the only source for some individua.pdf1) Income from an employment may be the only source for some individua.pdf
1) Income from an employment may be the only source for some individua.pdf
leelaelec
 
1) Grant Hill discusses the challenge teams have to get younger fans o.pdf
1) Grant Hill discusses the challenge teams have to get younger fans o.pdf1) Grant Hill discusses the challenge teams have to get younger fans o.pdf
1) Grant Hill discusses the challenge teams have to get younger fans o.pdf
leelaelec
 
1) For the purpose of Cost-Saving- your organization is planning to mo.pdf
1) For the purpose of Cost-Saving- your organization is planning to mo.pdf1) For the purpose of Cost-Saving- your organization is planning to mo.pdf
1) For the purpose of Cost-Saving- your organization is planning to mo.pdf
leelaelec
 
1 Explore the extracted files and search for interesting information-.pdf
1 Explore the extracted files and search for interesting information-.pdf1 Explore the extracted files and search for interesting information-.pdf
1 Explore the extracted files and search for interesting information-.pdf
leelaelec
 
1) Explain the different types of firewalls- 2) How is a firewall diff.pdf
1) Explain the different types of firewalls- 2) How is a firewall diff.pdf1) Explain the different types of firewalls- 2) How is a firewall diff.pdf
1) Explain the different types of firewalls- 2) How is a firewall diff.pdf
leelaelec
 
1) General transcription factors function to activate gene expression.pdf
1) General transcription factors function to activate gene expression.pdf1) General transcription factors function to activate gene expression.pdf
1) General transcription factors function to activate gene expression.pdf
leelaelec
 
1) describe what a function is and how it can be used- 2) describe th.pdf
1) describe what a function is and how it can be used-  2) describe th.pdf1) describe what a function is and how it can be used-  2) describe th.pdf
1) describe what a function is and how it can be used- 2) describe th.pdf
leelaelec
 
1) Define the term Market Potential- and why is it an important to a f.pdf
1) Define the term Market Potential- and why is it an important to a f.pdf1) Define the term Market Potential- and why is it an important to a f.pdf
1) Define the term Market Potential- and why is it an important to a f.pdf
leelaelec
 
1) Explain the impact technology has on control- 2) Do you believe tha.pdf
1) Explain the impact technology has on control- 2) Do you believe tha.pdf1) Explain the impact technology has on control- 2) Do you believe tha.pdf
1) Explain the impact technology has on control- 2) Do you believe tha.pdf
leelaelec
 
1) Discuss various theories of financing a public transport infrastruc.pdf
1) Discuss various theories of financing a public transport infrastruc.pdf1) Discuss various theories of financing a public transport infrastruc.pdf
1) Discuss various theories of financing a public transport infrastruc.pdf
leelaelec
 
1 The United States is considered a net debtor nation- a net creditor.pdf
1 The United States is considered a net debtor nation- a net creditor.pdf1 The United States is considered a net debtor nation- a net creditor.pdf
1 The United States is considered a net debtor nation- a net creditor.pdf
leelaelec
 
1) Compare and contrast the leadership traits discussed in the TedTalk.pdf
1) Compare and contrast the leadership traits discussed in the TedTalk.pdf1) Compare and contrast the leadership traits discussed in the TedTalk.pdf
1) Compare and contrast the leadership traits discussed in the TedTalk.pdf
leelaelec
 
1) Create table RoomReservation for hotel management system a- Assume.pdf
1) Create table RoomReservation for hotel management system a- Assume.pdf1) Create table RoomReservation for hotel management system a- Assume.pdf
1) Create table RoomReservation for hotel management system a- Assume.pdf
leelaelec
 

More from leelaelec (20)

1) The security of connected devices is paramount to the success of th.pdf
1) The security of connected devices is paramount to the success of th.pdf1) The security of connected devices is paramount to the success of th.pdf
1) The security of connected devices is paramount to the success of th.pdf
 
1) The monogastric animal's stomach is divided into four major areas t.pdf
1) The monogastric animal's stomach is divided into four major areas t.pdf1) The monogastric animal's stomach is divided into four major areas t.pdf
1) The monogastric animal's stomach is divided into four major areas t.pdf
 
1) Set the text color to navy- for all elements- 2) Set the text color.pdf
1) Set the text color to navy- for all elements- 2) Set the text color.pdf1) Set the text color to navy- for all elements- 2) Set the text color.pdf
1) Set the text color to navy- for all elements- 2) Set the text color.pdf
 
1) Platt Corporation paid $87-500 for a 70- interest in Suve Corporati.pdf
1) Platt Corporation paid $87-500 for a 70- interest in Suve Corporati.pdf1) Platt Corporation paid $87-500 for a 70- interest in Suve Corporati.pdf
1) Platt Corporation paid $87-500 for a 70- interest in Suve Corporati.pdf
 
1) Solve the generalized eigenvalue problem- Reference from 114- - c.pdf
1) Solve the generalized eigenvalue problem-   Reference from 114- - c.pdf1) Solve the generalized eigenvalue problem-   Reference from 114- - c.pdf
1) Solve the generalized eigenvalue problem- Reference from 114- - c.pdf
 
1) Please share an experience that you have working with individuals f.pdf
1) Please share an experience that you have working with individuals f.pdf1) Please share an experience that you have working with individuals f.pdf
1) Please share an experience that you have working with individuals f.pdf
 
1) How do fossils help geologists determine ages of rocks- 2) Why is r.pdf
1) How do fossils help geologists determine ages of rocks- 2) Why is r.pdf1) How do fossils help geologists determine ages of rocks- 2) Why is r.pdf
1) How do fossils help geologists determine ages of rocks- 2) Why is r.pdf
 
1) Income from an employment may be the only source for some individua.pdf
1) Income from an employment may be the only source for some individua.pdf1) Income from an employment may be the only source for some individua.pdf
1) Income from an employment may be the only source for some individua.pdf
 
1) Grant Hill discusses the challenge teams have to get younger fans o.pdf
1) Grant Hill discusses the challenge teams have to get younger fans o.pdf1) Grant Hill discusses the challenge teams have to get younger fans o.pdf
1) Grant Hill discusses the challenge teams have to get younger fans o.pdf
 
1) For the purpose of Cost-Saving- your organization is planning to mo.pdf
1) For the purpose of Cost-Saving- your organization is planning to mo.pdf1) For the purpose of Cost-Saving- your organization is planning to mo.pdf
1) For the purpose of Cost-Saving- your organization is planning to mo.pdf
 
1 Explore the extracted files and search for interesting information-.pdf
1 Explore the extracted files and search for interesting information-.pdf1 Explore the extracted files and search for interesting information-.pdf
1 Explore the extracted files and search for interesting information-.pdf
 
1) Explain the different types of firewalls- 2) How is a firewall diff.pdf
1) Explain the different types of firewalls- 2) How is a firewall diff.pdf1) Explain the different types of firewalls- 2) How is a firewall diff.pdf
1) Explain the different types of firewalls- 2) How is a firewall diff.pdf
 
1) General transcription factors function to activate gene expression.pdf
1) General transcription factors function to activate gene expression.pdf1) General transcription factors function to activate gene expression.pdf
1) General transcription factors function to activate gene expression.pdf
 
1) describe what a function is and how it can be used- 2) describe th.pdf
1) describe what a function is and how it can be used-  2) describe th.pdf1) describe what a function is and how it can be used-  2) describe th.pdf
1) describe what a function is and how it can be used- 2) describe th.pdf
 
1) Define the term Market Potential- and why is it an important to a f.pdf
1) Define the term Market Potential- and why is it an important to a f.pdf1) Define the term Market Potential- and why is it an important to a f.pdf
1) Define the term Market Potential- and why is it an important to a f.pdf
 
1) Explain the impact technology has on control- 2) Do you believe tha.pdf
1) Explain the impact technology has on control- 2) Do you believe tha.pdf1) Explain the impact technology has on control- 2) Do you believe tha.pdf
1) Explain the impact technology has on control- 2) Do you believe tha.pdf
 
1) Discuss various theories of financing a public transport infrastruc.pdf
1) Discuss various theories of financing a public transport infrastruc.pdf1) Discuss various theories of financing a public transport infrastruc.pdf
1) Discuss various theories of financing a public transport infrastruc.pdf
 
1 The United States is considered a net debtor nation- a net creditor.pdf
1 The United States is considered a net debtor nation- a net creditor.pdf1 The United States is considered a net debtor nation- a net creditor.pdf
1 The United States is considered a net debtor nation- a net creditor.pdf
 
1) Compare and contrast the leadership traits discussed in the TedTalk.pdf
1) Compare and contrast the leadership traits discussed in the TedTalk.pdf1) Compare and contrast the leadership traits discussed in the TedTalk.pdf
1) Compare and contrast the leadership traits discussed in the TedTalk.pdf
 
1) Create table RoomReservation for hotel management system a- Assume.pdf
1) Create table RoomReservation for hotel management system a- Assume.pdf1) Create table RoomReservation for hotel management system a- Assume.pdf
1) Create table RoomReservation for hotel management system a- Assume.pdf
 

Recently uploaded

Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
plant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated cropsplant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated crops
parmarsneha2
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
Denish Jangid
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptBasic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
Sourabh Kumar
 

Recently uploaded (20)

Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
plant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated cropsplant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated crops
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptBasic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
 

1) Create a SAGE function PI(n) prints all prime numbers below n- 2) C.pdf

  • 1. 1) Create a SAGE function PI ( n ) prints all prime numbers below n . 2) Create a SAGE function P n ( n ) that prints the first n prime numbers