What are the first 21-digit prime in consecutive decimal digits of e?
in Other Math Topics by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

2 Answers

There are only ten decimal digits (a digit is a single number, not to be confused with an integer of which there are an infinite number). So it is only possible to have 21 consecutive digits if they are arranged in ascending or descending order: 123456789876543210123. e is a transcendental number which has an infinite number of decimal places so every possible combination of digits will occur somewhere. Therefore if 123456789876543210123 is prime, then it may be the smallest 21-digit prime number with consecutive decimal digits. But this number is divisible by 3, so is not prime.

Note that if the number starts with an odd digit it also ends with one. So we can move 2 digits at a time. Proceeding like this we discover continued divisibility by 3 or 5, until we get to 101234567898765432101, which is not divisible by 3, and may be a prime number (assume it is, because it’s the only possible candidate). (Test for divisibility by 3 by summing the digits. If the sum is divisible by 3, then so is the number. Note that the sum from 1 to 8 is divisible by 3, therefore so is the sum from 1 to 9. This means we only have to sum some of the digits to check for divisibility by 3. And we can eliminate all numbers ending in 5 or an even digit. Note also that groups of 3 digits (012, 123, 234, 345, 456, 567, 678, 789) are all divisible by 3; but a change of direction is not (101, 898). A 21-digit number has 7 groups of 3 digits.)

[Sum of 3 consecutive digits can be represented by x-1+x+x+1=3x, that is, 3 times the central digit.]

 

by Top Rated User (1.1m points)
1234567891047638262522552526281816152728628333333333333300002
by

Related questions

1 answer
Welcome to MathHomeworkAnswers.org, where students, teachers and math enthusiasts can ask and answer any math question. Get help and answers to any math problem including algebra, trigonometry, geometry, calculus, trigonometry, fractions, solving expression, simplifying expressions and more. Get answers to math questions. Help is always 100% free!

Most popular tags

algebra problems solving equations word problems calculating percentages math problem geometry problems calculus problems math fraction problems trigonometry problems rounding numbers simplifying expressions solve for x order of operations probability algebra pre algebra problems word problem evaluate the expression slope intercept form statistics problems factoring polynomials solving inequalities 6th grade math how to find y intercept equation of a line sequences and series algebra 2 problems logarithmic equations solving systems of equations by substitution dividing fractions greatest common factor square roots geometric shapes graphing linear equations long division solving systems of equations least to greatest dividing decimals substitution method proving trigonometric identities least common multiple factoring polynomials ratio and proportion trig identity precalculus problems standard form of an equation solving equations with fractions http: mathhomeworkanswers.org ask# function of x calculus slope of a line through 2 points algebraic expressions solving equations with variables on both sides college algebra domain of a function solving systems of equations by elimination differential equation algebra word problems distributive property solving quadratic equations perimeter of a rectangle trinomial factoring factors of a number fraction word problems slope of a line limit of a function greater than or less than geometry division fractions how to find x intercept differentiation exponents 8th grade math simplifying fractions geometry 10th grade equivalent fractions inverse function area of a triangle elimination method story problems standard deviation integral ratios simplify systems of equations containing three variables width of a rectangle percentages area of a circle circumference of a circle place value solving triangles parallel lines mathematical proofs solving linear equations 5th grade math mixed numbers to improper fractions scientific notation problems quadratic functions number of sides of a polygon length of a rectangle statistics zeros of a function prime factorization percents algebra 1 evaluating functions derivative of a function equation area of a rectangle lowest common denominator solving systems of equations by graphing integers algebra 2 diameter of a circle dividing polynomials vertex of a parabola calculus problem perpendicular lines combining like terms complex numbers geometry word problems converting fractions to decimals finding the nth term range of a function 4th grade math greatest to least ordered pairs functions radius of a circle least common denominator slope unit conversion solve for y calculators solving radical equations calculate distance between two points area word problems equation of a tangent line multiplying fractions chemistry binomial expansion place values absolute value round to the nearest tenth common denominator sets set builder notation please help me to answer this step by step significant figures simplifying radicals arithmetic sequences median age problem trigonometry graphing derivatives number patterns adding fractions radicals midpoint of a line roots of polynomials product of two consecutive numbers limits decimals compound interest please help pre-algebra problems divisibility rules graphing functions subtracting fractions angles numbers discrete mathematics volume of a cylinder simultaneous equations integration probability of an event comparing decimals factor by grouping vectors percentage expanded forms rational irrational numbers improper fractions to mixed numbers algebra1 matrices logarithms how to complete the square mean statistics problem analytic geometry geometry problem rounding decimals 5th grade math problems solving equations with variables solving quadratic equations by completing the square simplifying trigonometric equation using identities
87,446 questions
99,047 answers
2,422 comments
4,780 users