# 102756

This number is a composite.

π(102756)=9834 is the only pandigital equation of the form π(m)=n containing each of the digits 0 to 9 exactly once, where π(m) is the prime-counting function. Found by G. L. Honaker, Jr.

Activity: Copy/Paste the following code at Applesoft BASIC in Javascript and click RUN:

02 REM Prime-Counting Function: pi(x) 03 REM by G. L. Honaker, Jr., 1987 05 PRINT "pi(1)=0" 07 PRINT "pi(2)=1" 11 LET C=1 13 FOR N=3 TO 102756 17 FOR D=2 TO SQR(N) 19 IF N/D=INT(N/D) THEN 31 23 NEXT D 29 LET C=C+1 31 PRINT "pi("N")="C 37 NEXT N 41 ENDHow long does it take your computer to reach 102756?

Printed from the PrimePages <primes.utm.edu> © G. L. Honaker and Chris K. Caldwell