Last visit was: 18 Jul 2024, 10:59 It is currently 18 Jul 2024, 10:59
Toolkit
GMAT Club Daily Prep
Thank you for using the timer - this advanced tool can estimate your performance and suggest more practice questions. We have subscribed you to Daily Prep Questions via email.

Customized
for You

we will pick new questions that match your level based on your Timer History

Track

every week, we’ll send you an estimated GMAT score based on your performance

Practice
Pays

we will pick new questions that match your level based on your Timer History
Not interested in getting valuable practice questions and articles delivered to your email? No problem, unsubscribe here.

What is the value of the integer p?

SORT BY:
Tags:
Show Tags
Hide Tags
Math Expert
Joined: 02 Sep 2009
Posts: 94407
Own Kudos [?]: 642015 [1]
Given Kudos: 85997
RC & DI Moderator
Joined: 02 Aug 2009
Status:Math and DI Expert
Posts: 11475
Own Kudos [?]: 34421 [0]
Given Kudos: 322
ISB School Moderator
Joined: 23 Nov 2018
Posts: 302
Own Kudos [?]: 256 [0]
Given Kudos: 358
Location: India
GMAT 1: 710 Q48 V39
GPA: 2.88
Intern
Joined: 15 Oct 2019
Posts: 2
Own Kudos [?]: 0 [0]
Given Kudos: 14
Re: What is the value of the integer p? [#permalink]
in case you are having a difficulty in checking whether a number is prime or not you can follow this simple step:
calculate (n)^(1/2) and take its succeeding integral value = y,
for ex. n = 89
y = 10
now check only for numbers in range (2,y) including 2 and y,
if you find any factor then it is not a prime..

in this way you need not to check for all the numbers between 1 and 89