Submitted:
05 September 2026
Posted:
08 September 2026
You are already at the latest version
Abstract
The P versus NP problem, a conjecture formulated by Stephen Cook in 1971, is one of the most challenging problems in contemporary mathematics and theoretical computer science. A concise mathematical formulation of the problem reads: is P = NP? In longer phrasing, this asks: given a problem instance, if some additional data can be recognized fast enough as logically implying the existence of a solution (to the instance), then can a solution be computed fast enough? In this article we present the idea of facial digits of a positive integer and formulate a problem in recasting positive integers in terms of their facial digits to show P \( \neq \) NP.
Keywords:
facial digit
; recasting
; frequency
; problem class P
; problem class NP
MSC: 11B75, 97F30, 97F40
1. Introduction
More on terminologies, symbols and notations used in this article can be found in [3,6,8]. Our discussions also draw on the following topics 1 through 9 that can be found in some detail in the suggested references, some of which can be downloaded free of cost.
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
1.1. Facial Digit Recasting
Throughout this article, will denote the set of positive integers, the set of non-negative integers (i.e., ), the set of integers and the set of real numbers. This article adopts the number system with base 10. The set defined by is the set of all the digits base 10.
An real number y is said to be in explicit exponent form (e-e form, for brevity) if y is expressed in the form where (i) x and k are in and (ii) the value of k is presented explicitly. Note that the value of x is, of necessity, given explicitly. For instance, (where and ) and (where and ) are in explicit exponent forms whereas 125 is not (since the index k is not explicit, albeit is understood), though .
Let . A facial digit of n is an element of that appears in the integral representation of n. The set will denote the set of all the facial digits of n. If then d is a facial digit of n if and only if .
For instance: (i) 30706 has four facial digits in all, and they are and 7, and so .
(ii) If then .
A facial digit will be henceforth referred to as a fit.
Let A and B be nonempty sets. A function from A to B is an assignment that assigns a unique element of B to each element of A. The notation means f is a function from A to B. In this case, A is the domain of f and B is the codomain of f.
Let A be a nonempty set. The set of all ordered pairs [8] where and is denoted by or and is called the Cartesian square of A. A binary operation in A is a function . Addition, subtraction and multiplication of real numbers are examples of binary operations in . Division of real numbers is a conditional binary operation in in the sense that it is a function from to ; i.e., the value of this function at is providing . Addition, subtraction and multiplication of integers are binary operations in .
If * is a binary operation in A and if x and y are elements of A then * assigns (of ) to the element (of A). In the operation (or, assignment) symbolized by , each of x and y is called an operand (of the operation *).
The binary operations addition, subtraction, multipication and division in are the four fundamental binary operations. The set will denote the set consisting of these four operations.
Let A be a nonempty subset of . An arithmetic expression over A is an expression comprising finitely many binary operations and finitely many operands and having the following properties (AE1) and (AE2):
(AE1) Any binary operation appearing in is a binary operation in .
(AE2) Every operand appearing in is an element of A - i.e., no element that is not in A is an operand in .
Let and . A facial digit recasting or fit recasting of n is an equation (where ) - written for brevity - subject to the following requirements / provisions from (F1) through (F5):
(F1) is an arithmetic expression over in which are distinct elements of . (This necessiates: for each , is an operand in and may or may not be given in explicit exponential form.)
(F2) Any of through may appear more than once in the expression .
(F3) For each , and - i.e., each element of must appear at least once in , and no element outside appears anywhere in .
(F4) Other than through and the binary operation symbols that legitimise (F1), the only symbols allowed in are the three types of pairs of nesting symbols, namely, , and (that are, respectively, parentheses, square brackets and braces), where ★ denotes the appropriate mathematically consistent content enclosed by the nesting symbols.
(F5) The result of mathematically executing the expression is n (thereby ensuring consistency with , where the = sign means that if the expression is computed mathematically then the resulting integer is n).
For brevity, a facial digit recasting of n will be called a fit-rec of n.
2. Some Definitions Connected to Fit Recasting
For , the set is defined as . For the remainder of this section, assume .
Let and be a fit-rec of n. For each digit , the freqency of x in is denoted by (or, simply, , if is clear from the context) and is defined to be the number of times x appears in the expression . The total frequency of the elements of in is denoted by and is defined as .
Each ( ) appearing in is a cog of . The set is the set of cogs of . The cardinality [8] of the set is the base size of , denoted (for obvious reasons) by .
It is important to note that is a set, and so the elements through are required to be distinct as elements of (see F1 of Section 1). This necessiates that no two of these k cogs should be equal as elements of . For instance, if a cog then none of the remaining cogs should have a value 121, regardless of the form any cog is presented in.
3. Examples for and
- 1.
- Let . Then . The equation is a fit-rec of n. We write where (or ) is the expression . The cogs of are , and . Of these, only is in e-e form. The set is the set of cogs of , from which the base size of is (). The frequencies of the elements of are given by: (since the fit 1 appears exactly four times in ) and (since the fit 2 appears exactly two times in ). So .
- 2.
-
. . A fit-rec of n is where denotes the expression . Here the cogs of are: , , , and , so that is . The set of cogs of is . The base size of is 7, which is the cardinality of . More elaborately, is .In , the frequencies of the elements of are given by: , , and , from which .
- 3.
- For , the equation is another fit-rec of n, written where denotes the expression with and . Then , and .
- 4.
- On the other hand, , where is the expression , although mathematically correct, is NOT a fit-rec of 112 since the element does not appear in the expression (see F3 of Section 1).
- 5.
- . . A fit-rec of n is where is the expression with , , , and . In , , , and , from which .
- 6.
- . . A fit-rec of n is where is the expression with , , and . In , and , from which .
NOTE 3.1. By now it is clear that a given can have more than one fit-recs.
4. Some Observations About and
Proposition 4.1.Let . Then n has a fit-rec.
Proof. Let n be a k-digit element of . Write where, for , is the digit (i.e., element of ) in the th place in the integral representation of n. Clearly .
Case 1: . Let s denote the positive integer . Let denote the expression , subject to the following condition: if then the ratio is not replaced by its value 1, and if then the ratio may be replaced by 1.
Then the digits through appear in s, and (which is 0) appears in , from which is a fit-rec of n.
NOTE 4.1. is presented explicitly ten times as a quotient in . Obviously the consequence of executing is 10. In effect, then, s is multiplied by 10, yielding n.
[For instance, if then , , so that , from which we have the fit-rec of n. Note also that is never replaced by 1 in since . ]
Case 2: but some other facial digit of n is 0. In this case n has at least three digits since . Let . Then is a fit-rec of n.
Case 3: and 0 is not a facial digit of n. Let and .
Let denote the expression .
Then , giving the desired conclusion . Note that the quotient is presented explicitly exactly ten times in but this ratio may be replaced by 1 only if , a situation similar to that seen in Case 1. •
Proposition 4.2.Let and . Then there exists a fit-rec of n such that .
Proof.Case 1: There is no fit-rec of n such that . In this case, for any fit-rec of n.
Case 2: There exists a fit-rec of n such that . Let . Let q be the quotient and r the remainder upon dividing k by d - written whre .
Sub-case 2.1. q is even. Write . Consider the expression (s times), without ever replacing by 0 - meaning the expression appears exactly s times (which also means that appears exactly times) in this repeated addition of . Let this expression of repeated addition be denoted by . Clearly .
Note that is an expression - we insist that is not the value that results from executing the expression (s times).
Clearly, the result of executing is 0, from which is a fit-rec of n. Let denote the expression . Then n is (obviously) the result of executing . Further, , completeing this case.
Sub-case 2.2. q is odd. Write . Consider the expression ( times), without ever replacing by 0 - meaning the expression appears exactly times (which also means that appears exactly times) in this repeated addition. Let this expression (of repeated addition) be denoted by .
Then is a fit-rec of n. Let denote the expression . Then , from which , completeing this case and the proof. •
5. A Computation Problem in Fit Recasting and Its Decision Variant
A variant of a problem is a formulation of that seeks a desired type of answer to a question accompanying a given instance of . Types of variants that are widely studied and used are: optimization, computation and decision.
An optimization variant of is a formulation of that asks for a solution of an optimum measure (which is either the maximum or the minimum of the concerned measure) to each instance of [1].
A computation variant of is a formulation that seeks to compute a stipulated type of solution to each instance of . The stipulations must comprise finitely many conditions.
A decision variant of is a formulation of in which each instance is accompanied by a decision question (about the instance) that asks for either a “yes” or a “no” response. The basic ingredients [1] of a decision variant are: the set of instances, the set of attempted solutions (i.e., certificate candidates [4,5]) and the predicate that decides whether an input certificate candidate yields a solution.
We shall be concerned only with computation and decision variants of the problem we discuss in Section 5 through Section 7. It is common to formulate a computation problem as a decision problem to find out if is in NP (see [2,3,4,5,9,11]).
5.1. The Computation Problem FITREC
The following is a computation problem (in facial digit recasting) we call FITREC.
Let be the input instance. Find a fit-rec of n such that .
NOTE . If n is the input instance and r is the input size in the problem FITREC, then . Here log denotes base 2 logarithm. Then n is exponential in r (with base 2).
5.2. A Decision Variant of FITREC
The following is a decision variant of the computational problem seen in Subsection 5.1.
Inputs: (i) and (ii) .
Decision question: Does there exist a fit-rec of n such that ?
Output: YES (meaning, such a fit-rec of n exists) or NO (meaning, no such fit-rec of n exists), as appropriate.
NOTE . There is no need of a certificate candidate since ensures the output is YES by dint of Proposition 4.2. As for the inputs, it is mandatory that they be free from any error, as also that they be logically consistent with one another.
6. An Algorithm to Show FITREC Is in NP
A “step” in an algorithm is a primitive operation executed by the algorithm. In dealing with any algorithm, there is a presupposition that every primitive operation to be executed by the algorithm is unambiguously defined. Since we furnish algorithms only in lines of pseudocodes, we adopt the following point of view for the notion of number of steps (as in [3]): we assume that each execution of the line of the pseudocode takes steps (meaning, primitive operations).
Reading a character, updating the value stored in the address of a variable, elementary mathematical and logical operations are some examples of primitive operations in algorithms. Additional information on primitive operations are in [3].
The following algorithm is shown to verify that FITREC is in NP.
Algorithm FITREC-in-NP
BEGIN
1. Read n
2. if
3.
then print “YES, exists a fit-rec of n such that , providing .” and STOP
4.
else print “ERROR. The problem FITREC requires n to be in .” and STOP
5. endif
STOP
Proposition 6.1.The algorithm FITREC-in-NPis feasible and correct.
Proof. Line 1 of the algorithm reads the value of n. This clearly terminates in a finite number of steps.
Line 2 checks if . This step also terminates in a finite number of steps.
As for each of line 3 and line 4, printing the respective decisions clearly terminates in a finite number of steps. So does line 5. Note that the decision in line 3 is justified by Proposition 4.2. Consequently, FITREC-in-NP is feasible.
The correctness of the algorithm is a direct consequence of Proposition 4.2. •
Proposition 6.2.Given an input , FITREC-in-NPruns in polynomial time in .
Proof. The total number (say, T) of steps executed by the algorithm FITREC-in-NP is the sum of the numbers of steps for all the lines executed. Suppose that one execution of the line j requires steps and that this line is executed exactly times when the algorithm is executed once. Then is the number of steps consumed by the line j in one execution of the algorithm.
In one execution of the algorithm, each line is executed once. Hence, for , .
The input is and the input size is (Note 5.1 in Subsection 5.1). The number of steps required for each of line 1 through line 4 is at most . The endif line requires only a constant number of steps in any algorithm [3]. Hence . •
Proposition 6.3.To each instance n of FITREC there is a certificate that is verified by the algorithm FITREC-in-NPin polynomial time in .
Proof. By dint of Proposition 4.2, Subsection 5.2 and Proposition 6.2, the conclusion holds without the need for any certificate. •
7. FITREC Is in NP but Not in P
Proposition 7.1.(and consequently ) cannot be bounded by for any positive real constants a and b as r increases over .
Proof. Straightforward. •
Proposition 7.2.The problem FITREC is inNP
.
Proof. Consequence of Proposition 6.2 and Proposition 6.3. •
Proposition 7.3.The problem FITREC is not inP
.
Proof. Let be the input instance for the computation problem FITREC (Subsection 5.1) and let be the input size. It is a straiogtforward exercise that .
Let ALGFIT be a given feasible algorithm that outputs a fit-rec of n such that . Let be the set of the facial digits of n.
To compute , the algorithm ALGFIT has to read each facial digit (of n) is times, where is the frequency of the digit in . Then each such reading is a step executed by the algorithm. Note that all these (finitely many) readings of the frequencies have to be done by the algorithm in addition to computing the desired fit-rec .
Clearly, each of these readings (of the facial digits) takes at least one step, as a result of which ALGFIT takes at least steps to run once fully.
But then . By Proposition 7.1, it follows that ALGFIT cannot run in polynomial time (in r). •
8. Conclusions
P ≠ NP, follows from Proposition 7.2 and Proposition 7.3.
Acknowledgments
This research was supported financially by Niels Abel Foundation, Palakkad, Kerala State, India.
References
- Bovet, D. P.; Crescenzi, P. Introduction to the theory of complexity; Prentice Hall: London, UK, 1994. [Google Scholar]
- Cook, S. The P versus NP problem. 2000. Available online: http://www.claymath.org/millennium/P.
- Cormen, T. H.; Leiserson, C. E.; Rivest, R. L.; Stein, C. Introduction to Algorithms; MIT Press: USA, 2009. [Google Scholar]
- Dharmarajan, R.; Ramachandran, D. A problem in Moon-Moser graphs to show P does not equal NP. Glob. J. Pure Appl. Math. Also available on. 2025, 21(1), 51–73. [Google Scholar]
- Dharmarajan, R.; Ramachandran, D. A problem in power sets shows P does not equal NP. Available online: http://www.preprint.org.
- Harris, J.M.; Hirst, J.L.; Mossinghoff, M.J. Combinatorics and Graph Theory, second ed.; Springer: New York, 2008. [Google Scholar] [CrossRef]
- Savage, J. E. Models of Computation; Addison Wesley: Reading, USA, 1998. [Google Scholar]
- Stoll, R. R. Set Theory and Logic; Courier Corporation, USA, 2012. [Google Scholar]
- Trakhtenbrot, B. A. A Survey of Russian Approaches to Perebor (Brute-Force Search) Algorithms. IEEE Ann. Hist. Comput. 1984, 6(4), 384–400. [Google Scholar] [CrossRef]
- Wilf, H. S. Algorithms and Complexity, Internet Edition, Summer. 1994. [Google Scholar]
- Woeginger, G. J. Exact algorithms for NP-hard problems: A survey. Combinatorial Optimization - Proc. 5th Intl. Workshop, Aussois, France, 2003; pp. 185–207. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.