{"id":14348,"date":"2023-03-14T10:03:44","date_gmt":"2023-03-14T10:03:44","guid":{"rendered":"https:\/\/www.prepbytes.com\/blog\/?p=14348"},"modified":"2023-03-14T10:03:44","modified_gmt":"2023-03-14T10:03:44","slug":"strong-numbers","status":"publish","type":"post","link":"https:\/\/prepbytes.com\/blog\/strong-numbers\/","title":{"rendered":"What are Strong Numbers"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1678698423572-Strong%20Numbers.jpg\" alt=\"\" \/><\/p>\n<p>There are various types of special numbers and series in Mathematics such as Armstrong Numbers, Fibonacci Numbers, Strong Numbers, Palindrome Numbers, etc. Here we will discuss Strong Numbers in detail, Algorithms, and Code for Strong Numbers in Java and Python. So, let\u2019s start.<\/p>\n<h2>Strong Numbers<\/h2>\n<p>\u201cIn Mathematics, Strong Numbers are defined as the number whose sum of the factorial of digits is equal to the number itself.\u201d The following examples will help you in a clear understanding of the above statement.<\/p>\n<p><strong>Example 1 of Strong Numbers<\/strong><br \/>\nLet us consider a number, 145.<\/p>\n<p>Here, n = 145<br \/>\nand, the Sum of Factorial of digits is = 1! + 4! + 5!<br \/>\n= 1 + 24 + 120<br \/>\n=  145<\/p>\n<p>Since the sum of the factorial of digits of the number is equal to the number. So, 145 is a Strong Number.<\/p>\n<p><strong>Example 2 of Strong Numbers<\/strong><br \/>\nNow, let another number be 534.<\/p>\n<p>Here, n = 534<br \/>\nand, the Sum of Factorial of digits is = 5! + 3! + 4!<br \/>\n= 120 + 6 + 24<br \/>\n= 150<\/p>\n<p>Here, the sum of the factorial of digits of the number (i.e., 150) does not equal to the number (i.e., 534). So, 534 is not a Strong Number.<\/p>\n<p>Now that you have understood the concept of Strong Numbers well, let\u2019s advance to the different methods of Checking whether the given number is strong or not.<\/p>\n<h2>Method 1: Iterative Solution for Strong Numbers<\/h2>\n<p>The iterative solution for the identification of Strong Numbers is given below along with a stepwise algorithm and code for Strong Numbers in Python and Java.<\/p>\n<p><strong>Algorithm: How to Check for Strong Number<\/strong><br \/>\nHere&#8217;s the algorithm to check if a number is a strong number:<\/p>\n<p><strong>Step 1:<\/strong> Take input from the user and store it in a variable num.<br \/>\n<strong>Step 2:<\/strong> Create three variables: original (to store the original value of num), sum (to store the sum of factorials of digits), and digit (to store the current digit of num).<br \/>\n<strong>Step 3:<\/strong> Set original equal to num.<br \/>\n<strong>Step 4:<\/strong> Initialize the sum to 0.<br \/>\n<strong>Step 5:<\/strong> Use a while loop to iterate through each digit of num:<br \/>\n<strong>a.<\/strong> Get the last digit of num using the modulus operator (%).<br \/>\n<strong>b.<\/strong> Calculate the factorial of that digit using a for a loop. Multiply each number from 1 to the digit to get the factorial.<br \/>\n<strong>c.<\/strong> Add the factorial to the sum variable and divide the number by 10 to move to the next digit.<br \/>\n<strong>Step 6:<\/strong> After the while loop, check if the sum variable is equal to the original variable. If it is, then the number is a strong number. Otherwise, it&#8217;s not a strong number.<\/p>\n<p><strong>Code Implementation for Strong Numbers in Java and Python<\/strong><br \/>\nHere is the code for the above-mentioned algorithm for Checking Strong Numbers in Python and Java.<\/p>\n\t\t\t\t\t\t<style>\r\n\t\t\t\t\r\n\t\t\t\t\t#tab_container_14213 {\r\n\toverflow:hidden;\r\n\tdisplay:block;\r\n\twidth:100%;\r\n\tborder:0px solid #ddd;\r\n\tmargin-bottom:30px;\r\n\t}\r\n\r\n#tab_container_14213 .tab-content{\r\n\tpadding:20px;\r\n\tborder: 1px solid #e6e6e6 !important;\r\n\tmargin-top: 0px;\r\n\tbackground-color:#ffffff !important;\r\n\tcolor: #000000 !important;\r\n\tfont-size:16px !important;\r\n\tfont-family: Open Sans !important;\r\n\t\r\n\t\tborder: 1px solid #e6e6e6 !important;\r\n\t}\r\n#tab_container_14213 .wpsm_nav-tabs {\r\n    border-bottom: 0px solid #ddd;\r\n}\r\n#tab_container_14213 .wpsm_nav-tabs > li.active > a, #tab_container_14213 .wpsm_nav-tabs > li.active > a:hover, #tab_container_14213 .wpsm_nav-tabs > li.active > a:focus {\r\n\tcolor: #000000 !important;\r\n\tcursor: default;\r\n\tbackground-color: #ffffff !important;\r\n\tborder: 1px solid #e6e6e6 !important;\r\n}\r\n\r\n#tab_container_14213 .wpsm_nav-tabs > li > a {\r\n    margin-right: 0px !important; \r\n    line-height: 1.42857143 !important;\r\n    border: 1px solid #d5d5d5 !important;\r\n    border-radius: 0px 0px 0 0 !important; \r\n\tbackground-color: #e8e8e8 !important;\r\n\tcolor: #000000 !important;\r\n\tpadding: 15px 18px 15px 18px !important;\r\n\ttext-decoration: none !important;\r\n\tfont-size: 14px !important;\r\n\ttext-align:center !important;\r\n\tfont-family: Open Sans !important;\r\n}\r\n#tab_container_14213 .wpsm_nav-tabs > li > a:focus {\r\noutline: 0px !important;\r\n}\r\n\r\n#tab_container_14213 .wpsm_nav-tabs > li > a:before {\r\n\tdisplay:none !important;\r\n}\r\n#tab_container_14213 .wpsm_nav-tabs > li > a:after {\r\n\tdisplay:none !important ;\r\n}\r\n#tab_container_14213 .wpsm_nav-tabs > li{\r\npadding:0px !important ;\r\nmargin:0px;\r\n}\r\n\r\n#tab_container_14213 .wpsm_nav-tabs > li > a:hover , #tab_container_14213 .wpsm_nav-tabs > li > a:focus {\r\n    color: #000000 !important;\r\n    background-color: #e8e8e8 !important;\r\n\tborder: 1px solid #d5d5d5 !important;\r\n\t\r\n}\r\n#tab_container_14213 .wpsm_nav-tabs > li > a .fa{\r\n\r\nmargin-right:5px !important;\r\n\r\nmargin-left:5px !important;\r\n\r\n\r\n}\r\n\r\n\t\t#tab_container_14213 .wpsm_nav-tabs a{\r\n\t\t\tbackground-image: none;\r\n\t\t\tbackground-position: 0 0;\r\n\t\t\tbackground-repeat: repeat-x;\r\n\t\t}\r\n\t\t\t\r\n\r\n\r\n#tab_container_14213 .wpsm_nav-tabs > li {\r\n    float: left;\r\n    margin-bottom: -1px !important;\r\n\tmargin-right:0px !important; \r\n}\r\n\r\n\r\n#tab_container_14213 .tab-content{\r\noverflow:hidden !important;\r\n}\r\n\r\n\r\n@media (min-width: 769px) {\r\n\r\n\t#tab_container_14213 .wpsm_nav-tabs > li{\r\n\t\tfloat:left !important ;\r\n\t\t\t\tmargin-right:-1px !important;\r\n\t\t\t\t\t}\r\n\t#tab_container_14213 .wpsm_nav-tabs{\r\n\t\tfloat:none !important;\r\n\t\tmargin:0px !important;\r\n\t}\r\n\r\n\t#tab_container_14213 .wpsm_nav-tabs > li {\r\n\t\t\t\t\r\n\t}\r\n\t#tab_container_14213 .wpsm_nav{\r\n\t\t\t}\r\n\r\n}\r\n\r\n\r\n\r\n@media (max-width: 768px) {\r\n\t#tab_container_14213 .wpsm_nav-tabs > li {\r\n\t\t\t\t\r\n\t}\r\n\t#tab_container_14213 .wpsm_nav{\r\n\t\t\t}\r\n}\r\n\r\n\r\n\t.wpsm_nav-tabs li:before{\r\n\t\tdisplay:none !important;\r\n\t}\r\n\r\n\t@media (max-width: 768px) {\r\n\t\t\t\t\r\n\t\t\t\t.wpsm_nav-tabs{\r\n\t\t\tmargin-left:0px !important;\r\n\t\t\tmargin-right:0px !important; \r\n\t\t\t\r\n\t\t}\r\n\t\t\t\t#tab_container_14213 .wpsm_nav-tabs > li{\r\n\t\t\tfloat:none !important;\r\n\t\t}\r\n\t\t\t\r\n\t}\t\t\t\t<\/style>\r\n\t\t\t\t<div id=\"tab_container_14213\" >\r\n\t \r\n\t\t\t\t\t<ul class=\"wpsm_nav wpsm_nav-tabs\" role=\"tablist\" id=\"myTab_14213\">\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<li role=\"presentation\"  class=\"active\"  onclick=\"do_resize()\">\r\n\t\t\t\t\t\t\t\t<a href=\"#tabs_desc_14213_1\" aria-controls=\"tabs_desc_14213_1\" role=\"tab\" data-toggle=\"tab\">\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-code\"><\/i> \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t<span>Java<\/span>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<li role=\"presentation\"  onclick=\"do_resize()\">\r\n\t\t\t\t\t\t\t\t<a href=\"#tabs_desc_14213_2\" aria-controls=\"tabs_desc_14213_2\" role=\"tab\" data-toggle=\"tab\">\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-code\"><\/i> \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t<span>Python<\/span>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t <\/ul>\r\n\r\n\t\t\t\t\t  <!-- Tab panes -->\r\n\t\t\t\t\t  <div class=\"tab-content\" id=\"tab-content_14213\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t <div role=\"tabpanel\" class=\"tab-pane  in active \" id=\"tabs_desc_14213_1\">\r\n\t\t\t\t\t\t\t\t<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"java\">import java.util.*;\r\n\r\n\r\npublic class StrongNumber {\r\n    public static void main(String[] args) {\r\n\r\n\r\n        Scanner sc = new Scanner(System.in);\r\n        int num = sc.nextInt();\r\n\r\n\r\n        int original = num;\r\n        int sum = 0;\r\n\r\n\r\n        while (num &gt; 0) {\r\n            int digit = num % 10;\r\n            int fact = 1;\r\n            for (int i = 1; i &lt;= digit; i++) {\r\n                fact *= i;\r\n            }\r\n            sum += fact;\r\n            num \/= 10;\r\n        }\r\n\r\n\r\n        if (sum == original) {\r\n            System.out.println(original + \" is a strong number\");\r\n        } else {\r\n            System.out.println(original + \" is not a strong number\");\r\n        }\r\n        sc.close();\r\n    }\r\n}\r\n<\/pre>\t\t\t\t\t\t <\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t\t <div role=\"tabpanel\" class=\"tab-pane \" id=\"tabs_desc_14213_2\">\r\n\t\t\t\t\t\t\t\t<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">num = int(input())\r\n\r\n\r\noriginal = num\r\nsum = 0\r\n\r\n\r\nwhile num &gt; 0:\r\n    digit = num % 10\r\n    fact = 1\r\n    for i in range(1, digit+1):\r\n        fact *= i\r\n    sum += fact\r\n    num \/\/= 10\r\n   \r\nif sum == original:\r\n    print(original, \"is a strong number\")\r\nelse:\r\n    print(original, \"is not a strong number\")\r\n<\/pre>\t\t\t\t\t\t <\/div>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t <\/div>\r\n\t\t\t\t\t \r\n\t\t\t\t <\/div>\r\n <script>\r\n\t\tjQuery(function () {\r\n\t\t\tjQuery('#myTab_14213 a:first').tab('show')\r\n\t\t});\r\n\t\t\r\n\t\t\t\tjQuery(function(){\r\n\t\t\tvar b=\"fadeIn\";\r\n\t\t\tvar c;\r\n\t\t\tvar a;\r\n\t\t\td(jQuery(\"#myTab_14213 a\"),jQuery(\"#tab-content_14213\"));function d(e,f,g){\r\n\t\t\t\te.click(function(i){\r\n\t\t\t\t\ti.preventDefault();\r\n\t\t\t\t\tjQuery(this).tab(\"show\");\r\n\t\t\t\t\tvar h=jQuery(this).data(\"easein\");\r\n\t\t\t\t\tif(c){c.removeClass(a);}\r\n\t\t\t\t\tif(h){f.find(\"div.active\").addClass(\"animated \"+h);a=h;}\r\n\t\t\t\t\telse{if(g){f.find(\"div.active\").addClass(\"animated \"+g);a=g;}else{f.find(\"div.active\").addClass(\"animated \"+b);a=b;}}c=f.find(\"div.active\");\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\r\n\t\tfunction do_resize(){\r\n\r\n\t\t\tvar width=jQuery( '.tab-content .tab-pane iframe' ).width();\r\n\t\t\tvar height=jQuery( '.tab-content .tab-pane iframe' ).height();\r\n\r\n\t\t\tvar toggleSize = true;\r\n\t\t\tjQuery('iframe').animate({\r\n\t\t\t    width: toggleSize ? width : 640,\r\n\t\t\t    height: toggleSize ? height : 360\r\n\t\t\t  }, 250);\r\n\r\n\t\t\t  toggleSize = !toggleSize;\r\n\t\t}\r\n\r\n\r\n\t<\/script>\r\n\t\t\t\t\r\n\t\t\t\n<p><strong>Input 1:<\/strong><\/p>\n<pre><code>145<\/code><\/pre>\n<p><strong>Output 1:<\/strong><\/p>\n<pre><code>145 is a strong number<\/code><\/pre>\n<p><strong>Input 2:<\/strong><\/p>\n<pre><code>345<\/code><\/pre>\n<p><strong>Output 2:<\/strong><\/p>\n<pre><code>345 is not a strong number<\/code><\/pre>\n<p><strong>Explanation:<\/strong><\/p>\n<ul>\n<li>We first take input from the user and store its value in the variable num.<\/li>\n<li>We then create two variables: original, and sum. The variable original stores the original value of num, and sum stores the sum of factorials of digits.<\/li>\n<li>We then use a while loop to iterate through each digit of the number. Inside the while loop, we first get the last digit of the number using the modulus operator (%). We then calculate the factorial of that digit using a for loop. We multiply each number from 1 to the digit to get the factorial. We then add the factorial to the sum variable and divide the number by 10 to move to the next digit of the number.<\/li>\n<li>After the while loop, we check if the \u201csum\u201d variable is equal to the \u201coriginal\u201d variable. If it is, then the number is a strong number, and we print a message saying so. If it&#8217;s not, we print a message saying that the number is not a strong number.<\/li>\n<\/ul>\n<h2>Method 2: Dynamic Programming Solution for Strong Numbers<\/h2>\n<p>A dynamic programming approach to checking if a number is a strong number involves calculating factorials of digits beforehand and storing them in an array. This reduces the number of computations required during the execution of the program to a large extent.<\/p>\n<p><strong>Algorithm: How to Check for Strong Number<\/strong><br \/>\nHere is the algorithm for Checking for Strong Numbers using the Dynamic Programming Approach.<\/p>\n<p><strong>Step 1:<\/strong> Take input from the user and store it in a variable num.<br \/>\n<strong>Step 2:<\/strong> Create two variables: original (to store the original value of num) and sum (to store the sum of factorials of digits).<br \/>\n<strong>Step 3:<\/strong> Create a list called factorials to store the factorials of digits.<br \/>\nSet the first two elements of the factorials list to 1.<br \/>\n<strong>Step 4:<\/strong> Use a for loop to iterate from 2 to 9 (since factorials of 10 and above are not required in this case):<br \/>\n<strong>a.<\/strong> Calculate the factorial of the current number using the previous factorial value and append it to the factorials list.<br \/>\n<strong>Step 5:<\/strong> After calculating the factorials, use a while loop to iterate through each digit of the number:<br \/>\n<strong>a.<\/strong> Get the last digit of the number using the modulus operator (%).<br \/>\n<strong>b.<\/strong> Add the factorial of that digit (which we stored in the factorials list) to the sum variable and divide the number by 10 to move to the next digit.<br \/>\n<strong>Step 6:<\/strong> After the while loop, check if the sum variable is equal to the original variable. If it is, then the number is a strong number. Otherwise, it&#8217;s not a strong number.<\/p>\n<p><strong>Code Implementation for Strong Numbers in Python and Java<\/strong><br \/>\nThe code for Strong Number in Java and Python is given below:<\/p>\n\t\t\t\t\t\t<style>\r\n\t\t\t\t\r\n\t\t\t\t\t#tab_container_14215 {\r\n\toverflow:hidden;\r\n\tdisplay:block;\r\n\twidth:100%;\r\n\tborder:0px solid #ddd;\r\n\tmargin-bottom:30px;\r\n\t}\r\n\r\n#tab_container_14215 .tab-content{\r\n\tpadding:20px;\r\n\tborder: 1px solid #e6e6e6 !important;\r\n\tmargin-top: 0px;\r\n\tbackground-color:#ffffff !important;\r\n\tcolor: #000000 !important;\r\n\tfont-size:16px !important;\r\n\tfont-family: Open Sans !important;\r\n\t\r\n\t\tborder: 1px solid #e6e6e6 !important;\r\n\t}\r\n#tab_container_14215 .wpsm_nav-tabs {\r\n    border-bottom: 0px solid #ddd;\r\n}\r\n#tab_container_14215 .wpsm_nav-tabs > li.active > a, #tab_container_14215 .wpsm_nav-tabs > li.active > a:hover, #tab_container_14215 .wpsm_nav-tabs > li.active > a:focus {\r\n\tcolor: #000000 !important;\r\n\tcursor: default;\r\n\tbackground-color: #ffffff !important;\r\n\tborder: 1px solid #e6e6e6 !important;\r\n}\r\n\r\n#tab_container_14215 .wpsm_nav-tabs > li > a {\r\n    margin-right: 0px !important; \r\n    line-height: 1.42857143 !important;\r\n    border: 1px solid #d5d5d5 !important;\r\n    border-radius: 0px 0px 0 0 !important; \r\n\tbackground-color: #e8e8e8 !important;\r\n\tcolor: #000000 !important;\r\n\tpadding: 15px 18px 15px 18px !important;\r\n\ttext-decoration: none !important;\r\n\tfont-size: 14px !important;\r\n\ttext-align:center !important;\r\n\tfont-family: Open Sans !important;\r\n}\r\n#tab_container_14215 .wpsm_nav-tabs > li > a:focus {\r\noutline: 0px !important;\r\n}\r\n\r\n#tab_container_14215 .wpsm_nav-tabs > li > a:before {\r\n\tdisplay:none !important;\r\n}\r\n#tab_container_14215 .wpsm_nav-tabs > li > a:after {\r\n\tdisplay:none !important ;\r\n}\r\n#tab_container_14215 .wpsm_nav-tabs > li{\r\npadding:0px !important ;\r\nmargin:0px;\r\n}\r\n\r\n#tab_container_14215 .wpsm_nav-tabs > li > a:hover , #tab_container_14215 .wpsm_nav-tabs > li > a:focus {\r\n    color: #000000 !important;\r\n    background-color: #e8e8e8 !important;\r\n\tborder: 1px solid #d5d5d5 !important;\r\n\t\r\n}\r\n#tab_container_14215 .wpsm_nav-tabs > li > a .fa{\r\n\r\nmargin-right:5px !important;\r\n\r\nmargin-left:5px !important;\r\n\r\n\r\n}\r\n\r\n\t\t#tab_container_14215 .wpsm_nav-tabs a{\r\n\t\t\tbackground-image: none;\r\n\t\t\tbackground-position: 0 0;\r\n\t\t\tbackground-repeat: repeat-x;\r\n\t\t}\r\n\t\t\t\r\n\r\n\r\n#tab_container_14215 .wpsm_nav-tabs > li {\r\n    float: left;\r\n    margin-bottom: -1px !important;\r\n\tmargin-right:0px !important; \r\n}\r\n\r\n\r\n#tab_container_14215 .tab-content{\r\noverflow:hidden !important;\r\n}\r\n\r\n\r\n@media (min-width: 769px) {\r\n\r\n\t#tab_container_14215 .wpsm_nav-tabs > li{\r\n\t\tfloat:left !important ;\r\n\t\t\t\tmargin-right:-1px !important;\r\n\t\t\t\t\t}\r\n\t#tab_container_14215 .wpsm_nav-tabs{\r\n\t\tfloat:none !important;\r\n\t\tmargin:0px !important;\r\n\t}\r\n\r\n\t#tab_container_14215 .wpsm_nav-tabs > li {\r\n\t\t\t\t\r\n\t}\r\n\t#tab_container_14215 .wpsm_nav{\r\n\t\t\t}\r\n\r\n}\r\n\r\n\r\n\r\n@media (max-width: 768px) {\r\n\t#tab_container_14215 .wpsm_nav-tabs > li {\r\n\t\t\t\t\r\n\t}\r\n\t#tab_container_14215 .wpsm_nav{\r\n\t\t\t}\r\n}\r\n\r\n\r\n\t.wpsm_nav-tabs li:before{\r\n\t\tdisplay:none !important;\r\n\t}\r\n\r\n\t@media (max-width: 768px) {\r\n\t\t\t\t\r\n\t\t\t\t.wpsm_nav-tabs{\r\n\t\t\tmargin-left:0px !important;\r\n\t\t\tmargin-right:0px !important; \r\n\t\t\t\r\n\t\t}\r\n\t\t\t\t#tab_container_14215 .wpsm_nav-tabs > li{\r\n\t\t\tfloat:none !important;\r\n\t\t}\r\n\t\t\t\r\n\t}\t\t\t\t<\/style>\r\n\t\t\t\t<div id=\"tab_container_14215\" >\r\n\t \r\n\t\t\t\t\t<ul class=\"wpsm_nav wpsm_nav-tabs\" role=\"tablist\" id=\"myTab_14215\">\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<li role=\"presentation\"  class=\"active\"  onclick=\"do_resize()\">\r\n\t\t\t\t\t\t\t\t<a href=\"#tabs_desc_14215_1\" aria-controls=\"tabs_desc_14215_1\" role=\"tab\" data-toggle=\"tab\">\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-code\"><\/i> \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t<span>Java<\/span>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<li role=\"presentation\"  onclick=\"do_resize()\">\r\n\t\t\t\t\t\t\t\t<a href=\"#tabs_desc_14215_2\" aria-controls=\"tabs_desc_14215_2\" role=\"tab\" data-toggle=\"tab\">\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-code\"><\/i> \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t<span>Python<\/span>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t <\/ul>\r\n\r\n\t\t\t\t\t  <!-- Tab panes -->\r\n\t\t\t\t\t  <div class=\"tab-content\" id=\"tab-content_14215\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t <div role=\"tabpanel\" class=\"tab-pane  in active \" id=\"tabs_desc_14215_1\">\r\n\t\t\t\t\t\t\t\t<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"java\">import java.util.Scanner;\r\n\r\n\r\npublic class StrongNumberDP {\r\n    public static void main(String[] args) {\r\n        Scanner sc = new Scanner(System.in);\r\n        int num = sc.nextInt();\r\n\r\n\r\n        int original = num;\r\n\r\n\r\n        int[] factorials = new int[10];\r\n        factorials[0] = factorials[1] = 1;\r\n        for (int i = 2; i &lt; 10; i++) {\r\n            factorials[i] = i * factorials[i - 1];\r\n        }\r\n\r\n\r\n        int sum = 0;\r\n        while (num &gt; 0) {\r\n            int digit = num % 10;\r\n            sum += factorials[digit];\r\n            num \/= 10;\r\n        }\r\n\r\n\r\n        if (sum == original) {\r\n            System.out.println(original + \" is a strong number\");\r\n        } else {\r\n            System.out.println(original + \" is not a strong number\");\r\n        }\r\n       \r\n        sc.close();\r\n    }\r\n}\r\n<\/pre>\t\t\t\t\t\t <\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t\t <div role=\"tabpanel\" class=\"tab-pane \" id=\"tabs_desc_14215_2\">\r\n\t\t\t\t\t\t\t\t<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">num = int(input())\r\noriginal = num\r\n\r\n\r\nfactorials = [1, 1]\r\nfor i in range(2, 10):\r\n    factorials.append(i * factorials[i-1])\r\n\r\n\r\nsum = 0\r\nwhile num &gt; 0:\r\n    digit = num % 10\r\n    sum += factorials[digit]\r\n    num \/\/= 10\r\n   \r\nif sum == original:\r\n    print(original, \"is a strong number\")\r\nelse:\r\n    print(original, \"is not a strong number\")\r\n<\/pre>\t\t\t\t\t\t <\/div>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t <\/div>\r\n\t\t\t\t\t \r\n\t\t\t\t <\/div>\r\n <script>\r\n\t\tjQuery(function () {\r\n\t\t\tjQuery('#myTab_14215 a:first').tab('show')\r\n\t\t});\r\n\t\t\r\n\t\t\t\tjQuery(function(){\r\n\t\t\tvar b=\"fadeIn\";\r\n\t\t\tvar c;\r\n\t\t\tvar a;\r\n\t\t\td(jQuery(\"#myTab_14215 a\"),jQuery(\"#tab-content_14215\"));function d(e,f,g){\r\n\t\t\t\te.click(function(i){\r\n\t\t\t\t\ti.preventDefault();\r\n\t\t\t\t\tjQuery(this).tab(\"show\");\r\n\t\t\t\t\tvar h=jQuery(this).data(\"easein\");\r\n\t\t\t\t\tif(c){c.removeClass(a);}\r\n\t\t\t\t\tif(h){f.find(\"div.active\").addClass(\"animated \"+h);a=h;}\r\n\t\t\t\t\telse{if(g){f.find(\"div.active\").addClass(\"animated \"+g);a=g;}else{f.find(\"div.active\").addClass(\"animated \"+b);a=b;}}c=f.find(\"div.active\");\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\r\n\t\tfunction do_resize(){\r\n\r\n\t\t\tvar width=jQuery( '.tab-content .tab-pane iframe' ).width();\r\n\t\t\tvar height=jQuery( '.tab-content .tab-pane iframe' ).height();\r\n\r\n\t\t\tvar toggleSize = true;\r\n\t\t\tjQuery('iframe').animate({\r\n\t\t\t    width: toggleSize ? width : 640,\r\n\t\t\t    height: toggleSize ? height : 360\r\n\t\t\t  }, 250);\r\n\r\n\t\t\t  toggleSize = !toggleSize;\r\n\t\t}\r\n\r\n\r\n\t<\/script>\r\n\t\t\t\t\r\n\t\t\t\n<p><strong>Input 1:<\/strong><\/p>\n<pre><code>451<\/code><\/pre>\n<p><strong>Output 1:<\/strong><\/p>\n<pre><code>451 is not a strong number<\/code><\/pre>\n<p><strong>Input 2:<\/strong><\/p>\n<pre><code>145<\/code><\/pre>\n<p><strong>Output 2:<\/strong><\/p>\n<pre><code>145 is a strong number<\/code><\/pre>\n<p><strong>Explanation:<\/strong><\/p>\n<ul>\n<li>We first take input and store the value in the variable named \u201cnum\u201d<\/li>\n<li>We then create two variables: original, and sum. The variable original stores the original value of num, and sum stores the sum of factorials of digits.<\/li>\n<li>We create an array called factorials to store the factorials of digits.<\/li>\n<li>We set the first two elements of the factorials array to 1 since 0! = 1! = 1.<\/li>\n<li>We then use a for loop to iterate from 2 to 9 (since factorials of 10 and above are not required in this case). Inside the for loop, we calculate the factorial of the current number using the previous factorial value and store it in the factorials array.<\/li>\n<li>After calculating the factorials, we follow the same steps as followed in the iterative approach.<\/li>\n<\/ul>\n<p><strong>Conclusion<\/strong><br \/>\nIn this article, we learned how to check if a number is a strong number using Java and Python. We also went through the algorithm to check a strong number. The code for both Java and Python is relatively simple and easy to understand. Moreover, to optimize our solution, we also discussed the Dynamic Programming Approach which helps in reducing the number of calculations for finding the factorial of the digits. By implementing the algorithm and code we provided, you can quickly determine whether a given number is a strong number or not.<\/p>\n<h2>Frequently Asked Questions(FAQs)<\/h2>\n<p>Here are some Frequently Asked Questions on Strong Numbers.<\/p>\n<p><strong>Ques 1. Is every perfect number a strong number?<\/strong><br \/>\n<strong>Ans.<\/strong> No, not every perfect number is a strong number.<\/p>\n<p><strong>Ques 2. What is the largest known strong number?<\/strong><br \/>\n<strong>Ans.<\/strong> The largest known strong number is 531,441.<\/p>\n<p><strong>Ques 3. How many strong numbers are there between 1 and 100?<\/strong><br \/>\n<strong>Ans.<\/strong> There are only two strong numbers between 1 and 100, which are 1 and 145.<\/p>\n<p><strong>Ques 4. Can a negative number be a strong number?<\/strong><br \/>\n<strong>Ans.<\/strong> No, a negative number cannot be a strong number because it has no factorial representation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are various types of special numbers and series in Mathematics such as Armstrong Numbers, Fibonacci Numbers, Strong Numbers, Palindrome Numbers, etc. Here we will discuss Strong Numbers in detail, Algorithms, and Code for Strong Numbers in Java and Python. So, let\u2019s start. Strong Numbers \u201cIn Mathematics, Strong Numbers are defined as the number whose [&hellip;]<\/p>\n","protected":false},"author":52,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[49],"tags":[],"class_list":["post-14348","post","type-post","status-publish","format-standard","hentry","category-maths"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Strong Numbers: Programs to Check for Strong Number<\/title>\n<meta name=\"description\" content=\"we learned how to check if a number is a strong number using Java and Python. We also went through the algorithm to check a strong number.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/prepbytes.com\/blog\/strong-numbers\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Strong Numbers: Programs to Check for Strong Number\" \/>\n<meta property=\"og:description\" content=\"we learned how to check if a number is a strong number using Java and Python. We also went through the algorithm to check a strong number.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prepbytes.com\/blog\/strong-numbers\/\" \/>\n<meta property=\"og:site_name\" content=\"PrepBytes Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prepbytes0211\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-14T10:03:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1678698423572-Strong%20Numbers.jpg\" \/>\n<meta name=\"author\" content=\"Prepbytes\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prepbytes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/prepbytes.com\/blog\/strong-numbers\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/strong-numbers\/\"},\"author\":{\"name\":\"Prepbytes\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e\"},\"headline\":\"What are Strong Numbers\",\"datePublished\":\"2023-03-14T10:03:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/strong-numbers\/\"},\"wordCount\":1202,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/43.205.93.38\/#organization\"},\"image\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/strong-numbers\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1678698423572-Strong%20Numbers.jpg\",\"articleSection\":[\"maths\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/prepbytes.com\/blog\/strong-numbers\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prepbytes.com\/blog\/strong-numbers\/\",\"url\":\"https:\/\/prepbytes.com\/blog\/strong-numbers\/\",\"name\":\"Strong Numbers: Programs to Check for Strong Number\",\"isPartOf\":{\"@id\":\"http:\/\/43.205.93.38\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/strong-numbers\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/strong-numbers\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1678698423572-Strong%20Numbers.jpg\",\"datePublished\":\"2023-03-14T10:03:44+00:00\",\"description\":\"we learned how to check if a number is a strong number using Java and Python. We also went through the algorithm to check a strong number.\",\"breadcrumb\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/strong-numbers\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prepbytes.com\/blog\/strong-numbers\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prepbytes.com\/blog\/strong-numbers\/#primaryimage\",\"url\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1678698423572-Strong%20Numbers.jpg\",\"contentUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1678698423572-Strong%20Numbers.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prepbytes.com\/blog\/strong-numbers\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/43.205.93.38\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"maths\",\"item\":\"https:\/\/prepbytes.com\/blog\/category\/maths\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"What are Strong Numbers\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/43.205.93.38\/#website\",\"url\":\"http:\/\/43.205.93.38\/\",\"name\":\"PrepBytes Blog\",\"description\":\"ONE-STOP RESOURCE FOR EVERYTHING RELATED TO CODING\",\"publisher\":{\"@id\":\"http:\/\/43.205.93.38\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/43.205.93.38\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/43.205.93.38\/#organization\",\"name\":\"Prepbytes\",\"url\":\"http:\/\/43.205.93.38\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp\",\"contentUrl\":\"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp\",\"width\":160,\"height\":160,\"caption\":\"Prepbytes\"},\"image\":{\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/prepbytes0211\/\",\"https:\/\/www.instagram.com\/prepbytes\/\",\"https:\/\/www.linkedin.com\/company\/prepbytes\/\",\"https:\/\/www.youtube.com\/channel\/UC0xGnHDrjUM1pDEK2Ka5imA\"]},{\"@type\":\"Person\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e\",\"name\":\"Prepbytes\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g\",\"caption\":\"Prepbytes\"},\"url\":\"https:\/\/prepbytes.com\/blog\/author\/gourav-jaincollegedekho-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Strong Numbers: Programs to Check for Strong Number","description":"we learned how to check if a number is a strong number using Java and Python. We also went through the algorithm to check a strong number.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/prepbytes.com\/blog\/strong-numbers\/","og_locale":"en_US","og_type":"article","og_title":"Strong Numbers: Programs to Check for Strong Number","og_description":"we learned how to check if a number is a strong number using Java and Python. We also went through the algorithm to check a strong number.","og_url":"https:\/\/prepbytes.com\/blog\/strong-numbers\/","og_site_name":"PrepBytes Blog","article_publisher":"https:\/\/www.facebook.com\/prepbytes0211\/","article_published_time":"2023-03-14T10:03:44+00:00","og_image":[{"url":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1678698423572-Strong%20Numbers.jpg","type":"","width":"","height":""}],"author":"Prepbytes","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Prepbytes","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/prepbytes.com\/blog\/strong-numbers\/#article","isPartOf":{"@id":"https:\/\/prepbytes.com\/blog\/strong-numbers\/"},"author":{"name":"Prepbytes","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e"},"headline":"What are Strong Numbers","datePublished":"2023-03-14T10:03:44+00:00","mainEntityOfPage":{"@id":"https:\/\/prepbytes.com\/blog\/strong-numbers\/"},"wordCount":1202,"commentCount":0,"publisher":{"@id":"http:\/\/43.205.93.38\/#organization"},"image":{"@id":"https:\/\/prepbytes.com\/blog\/strong-numbers\/#primaryimage"},"thumbnailUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1678698423572-Strong%20Numbers.jpg","articleSection":["maths"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/prepbytes.com\/blog\/strong-numbers\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/prepbytes.com\/blog\/strong-numbers\/","url":"https:\/\/prepbytes.com\/blog\/strong-numbers\/","name":"Strong Numbers: Programs to Check for Strong Number","isPartOf":{"@id":"http:\/\/43.205.93.38\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prepbytes.com\/blog\/strong-numbers\/#primaryimage"},"image":{"@id":"https:\/\/prepbytes.com\/blog\/strong-numbers\/#primaryimage"},"thumbnailUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1678698423572-Strong%20Numbers.jpg","datePublished":"2023-03-14T10:03:44+00:00","description":"we learned how to check if a number is a strong number using Java and Python. We also went through the algorithm to check a strong number.","breadcrumb":{"@id":"https:\/\/prepbytes.com\/blog\/strong-numbers\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prepbytes.com\/blog\/strong-numbers\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prepbytes.com\/blog\/strong-numbers\/#primaryimage","url":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1678698423572-Strong%20Numbers.jpg","contentUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1678698423572-Strong%20Numbers.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/prepbytes.com\/blog\/strong-numbers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/43.205.93.38\/"},{"@type":"ListItem","position":2,"name":"maths","item":"https:\/\/prepbytes.com\/blog\/category\/maths\/"},{"@type":"ListItem","position":3,"name":"What are Strong Numbers"}]},{"@type":"WebSite","@id":"http:\/\/43.205.93.38\/#website","url":"http:\/\/43.205.93.38\/","name":"PrepBytes Blog","description":"ONE-STOP RESOURCE FOR EVERYTHING RELATED TO CODING","publisher":{"@id":"http:\/\/43.205.93.38\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/43.205.93.38\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/43.205.93.38\/#organization","name":"Prepbytes","url":"http:\/\/43.205.93.38\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/","url":"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp","contentUrl":"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp","width":160,"height":160,"caption":"Prepbytes"},"image":{"@id":"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/prepbytes0211\/","https:\/\/www.instagram.com\/prepbytes\/","https:\/\/www.linkedin.com\/company\/prepbytes\/","https:\/\/www.youtube.com\/channel\/UC0xGnHDrjUM1pDEK2Ka5imA"]},{"@type":"Person","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e","name":"Prepbytes","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g","caption":"Prepbytes"},"url":"https:\/\/prepbytes.com\/blog\/author\/gourav-jaincollegedekho-com\/"}]}},"_links":{"self":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/14348","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/users\/52"}],"replies":[{"embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/comments?post=14348"}],"version-history":[{"count":2,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/14348\/revisions"}],"predecessor-version":[{"id":14412,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/14348\/revisions\/14412"}],"wp:attachment":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/media?parent=14348"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/categories?post=14348"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/tags?post=14348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}