mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > PrimeNet

Reply
 
Thread Tools
Old 2009-11-20, 00:56   #1
spkarra
 
"Sastry Karra"
Jul 2009
Bridgewater, NJ (USA)

33 Posts
Default Curious and want to share about Prime number 23

Hi,
While running a program for a diffferent reason, I found that prime number 23 has a peculiar character.

Statement: if p is a PRIME number and n is the Number of digits for Factorial(p), then n = p will be true for 23 Only.

Result:
P = 23
Fact(23) = 25,852,016,738,884,976,640,000 (23 digits)

I tried upto Fact(31667), and haven't found anything.

If this is something known or proven earleir, pls accept my apologies.
Thanks a lot!
spkarra is offline   Reply With Quote
Old 2009-11-20, 01:09   #2
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

10000101010112 Posts
Default

It is indeed the only such prime, (see http://www.research.att.com/~njas/sequences/table?a=34886&fmt=4, a(n) means the number of decimal digits in n!; n=a(n) only for n=22, 23, and 24, and 23 is the only prime of the 3) but it's not really an interesting fact. There's no reason to only consider a prime for such a property, and noting that the only times where n=a(n) are 22, 23, and 24 is not terribly interesting.
Mini-Geek is offline   Reply With Quote
Old 2009-11-20, 02:20   #3
Jens K Andersen
 
Jens K Andersen's Avatar
 
Feb 2006
Denmark

2×5×23 Posts
Default

You are not the first to observe this. http://primes.utm.edu/curios/page.php/23.html says: "23 is the only prime number p such that p! is p digits long. [Gupta]"

n! = n*(n-1)! so if n>=10 then n! has at least one more digit than (n-1)!
25! has 26 digits so n! must always have more digits than n for n>=25.

Last fiddled with by Jens K Andersen on 2009-11-20 at 02:21 Reason: fix typo
Jens K Andersen is offline   Reply With Quote
Old 2009-11-20, 03:39   #4
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

2·7·677 Posts
Default

A more interesting (albeit trivial) generalization is to find solution(s) using aribitrary base, with a prime or with any n. Find the smallest base in which there's no solution. Find a smallest base with exactly two solutions (or prove that there isn't such). etc etc etc
Batalov is offline   Reply With Quote
Old 2009-11-20, 03:54   #5
ixfd64
Bemusing Prompter
 
ixfd64's Avatar
 
"Danny"
Dec 2002
California

23×13×23 Posts
Default

The number 23 has a lot of properties.
ixfd64 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Share N+/-1 Primality Proofs wblipp FactorDB 427 2020-11-29 16:52
Number of distinct prime factors of a Double Mersenne number aketilander Operazione Doppi Mersennes 1 2012-11-09 21:16
Estimating the number of prime factors a number has henryzz Math 7 2012-05-23 01:13
Can two Mersenne numbers share a factor? James Heinrich Math 57 2011-09-12 14:16
Curious Prime Grid dump in secondpass VJS Prime Sierpinski Project 4 2008-08-09 09:15

All times are UTC. The time now is 11:58.


Sat Jul 17 11:58:19 UTC 2021 up 50 days, 9:45, 1 user, load averages: 1.33, 1.22, 1.24

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.