{"id":1016,"date":"2010-08-04T18:02:23","date_gmt":"2010-08-04T18:02:23","guid":{"rendered":"http:\/\/kedar.nitty-witty.com\/?p=1016"},"modified":"2014-06-24T17:53:33","modified_gmt":"2014-06-24T17:53:33","slug":"my-worst-mathematical-program","status":"publish","type":"post","link":"https:\/\/kedar.nitty-witty.com\/blog\/my-worst-mathematical-program","title":{"rendered":"My worst mathematical program in perl"},"content":{"rendered":"<p>I have a Mathe-crap-matical friend. Who keeps digging into graves of dead formulas and equations and all possible Math related stuffs.<br \/>\nSince I started understanding Mathematics (that it&#8217;s not my cup of tea), I tried to stay away from it.<\/p>\n<p>Now, that enthu creature mailed me his requirement. He says he &#8220;eat mathematics&#8221;, I prefer to stay away from such guys. But as a good friend I read his mails.<\/p>\n<p>His requirement was to create a program. His requirements are:<\/p>\n<p><em>N is a natural number falling in range [1 &#8211; 999999]<br \/>\nX is a number given by user with range [6000 &#8211; 20000]<\/em><\/p>\n<p><em>You have to write a program such that you find a number N whose square root or cube root is such that the first digit of X comes in the Xth decimal place and second digit of X comes in the (X+1)th decimal place and so on&#8230;<\/em><\/p>\n<p><em>e.g. user enters 12&#8230;<br \/>\nthen the number N would be such that CubeRoot(N) or SqRoot(N) = dddd.ddddddddddd12<\/em><\/p>\n<p><em>You may write program in any language.<\/em><\/p>\n<p>Check screen shot to understand what it does [note the name]:<\/p>\n<figure id=\"attachment_1017\" aria-describedby=\"caption-attachment-1017\" style=\"width: 271px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/kedar.nitty-witty.com\/wp-content\/uploads\/2010\/08\/maths-program.jpg\"><img decoding=\"async\" class=\"size-medium wp-image-1017\" title=\"maths program\" alt=\"maths program\" src=\"http:\/\/kedar.nitty-witty.com\/wp-content\/uploads\/2010\/08\/maths-program-271x300.jpg\" width=\"271\" height=\"300\" \/><\/a><figcaption id=\"caption-attachment-1017\" class=\"wp-caption-text\">maths program<\/figcaption><\/figure>\n<p>Alright, I understood the dooms day is closing in&#8230; Did you notice the decimal places correction he was asking? 6000!! Damn&#8230;<\/p>\n<p>Any ways, I chose perl and accomplished the task. I&#8217;m not sure how and why he need this thing but still I hope it rested his soul. \ud83d\ude42<\/p>\n<p>This post is for people like me who have such math-e-manic friends.<br \/>\nYou may download my script <a href=\"http:\/\/kedar.nitty-witty.com\/wp-content\/uploads\/2010\/08\/my_mathematics_pgm.pl_.txt\" target=\"_blank\">my_mathematics_pgm.pl<\/a>.<\/p>\n<pre>print \"Enter X:\";\r\nmy $X = &lt;STDIN&gt;;\r\n$X=trim($X);\r\nmy $N=1;\r\nwhile ($N &lt; 100) {\r\n\t$SQRT_VAL=$N**(1\/2);\r\n\t$CUBERT_VAL=$N**(1\/3);\r\n\r\n\t$PosAfterDesimal=index ($SQRT_VAL,'.');\r\n\t$PosOfXInSQRT =index ($SQRT_VAL, $X,$PosAfterDesimal);\r\n\t$PosOfXInSQRT = $PosOfXInSQRT -1;\r\n\t$PosAfterDesimal=index ($CUBERT_VAL,'.');\r\n\t$PosOfXInCUBERT =index ($CUBERT_VAL, $X, $PosAfterDesimal);\r\n\t$PosOfXInCUBERT= $PosOfXInCUBERT -1;\r\n\r\n#\tprint $N . \"-&gt;\" . $SQRT_VAL . \"-&gt;\" . $X . \"-&gt;&gt; \" .trim($PosOfXInSQRT). \"\\n\";\r\n\tif (trim($PosOfXInSQRT) == $X) {\r\n\t\tprint $X. \" matched SQRT of \" . $N . \" at \" . $X . \"th Position \\n\" ;\r\n\t\tprint \"\\t Where, N=\" . $N . \", SQRT VAL=\" . $SQRT_VAL . \", X=\" . $X . \"\\n\";\r\n\t\texit;\r\n\t} elsif (trim($PosOfXInCUBERT) == $X) {\r\n\t\tprint $X. \" matched Cube Root of \" . $N . \" at \" . $X . \"th Position \\n\";\r\n\t\tprint \"\\t Where, N=\" . $N . \", CUBEROOT VAL=\" . $CUBERT_VAL . \", X=\" . $X . \"\\n\";\r\n\t\texit;\r\n\t}\r\n\t$N++;\r\n}\r\nsub trim($)\r\n{\r\n        my $string = shift;\r\n\r\n        if ( $string eq undef || $string eq \"\" )\r\n        {\r\n                return \"\";\r\n        }\r\n        $string =~ s\/^\\s+\/\/;\r\n        $string =~ s\/\\s+$\/\/;\r\n\r\n        return $string;\r\n}#trim Ends<\/pre>\n","protected":false},"excerpt":{"rendered":"I have a Mathe-crap-matical friend. Who keeps digging into graves of dead formulas and equations and all possible Math related stuffs. Since I started understanding Mathematics (that it&#8217;s not my&hellip;\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[6],"tags":[24,424,67,227,228,92],"class_list":["post-1016","post","type-post","status-publish","format-standard","category-technical","tag-code","tag-general","tag-mathematics","tag-perl-program","tag-perl-sample-code","tag-program"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"I have a Mathe-crap-matical friend. Who keeps digging into graves of dead formulas and equations and all possible Math related stuffs. Since I started understanding Mathematics (that it&#039;s not my cup of tea), I tried to stay away from it. Now, that enthu creature mailed me his requirement. He says he &quot;eat mathematics&quot;, I prefer\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Kedar\"\/>\n\t<meta name=\"google-site-verification\" content=\"_Bu1h5r0PxIC0D2jBVdmYN45RTeG9ogcX85XLkbG1qA\" \/>\n\t<meta name=\"msvalidate.01\" content=\"116B62074CBCA1BA99B8CCE09CCF2FB8\" \/>\n\t<meta name=\"keywords\" content=\"code,general,mathematics,perl program,perl sample code,program\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/kedar.nitty-witty.com\/blog\/my-worst-mathematical-program\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Change Is Inevitable | Kedar Vaijanapurkar&#039;s Blog for MySQL, technology and various subjects\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"My worst mathematical program in perl | Change Is Inevitable\" \/>\n\t\t<meta property=\"og:description\" content=\"I have a Mathe-crap-matical friend. Who keeps digging into graves of dead formulas and equations and all possible Math related stuffs. Since I started understanding Mathematics (that it&#039;s not my cup of tea), I tried to stay away from it. Now, that enthu creature mailed me his requirement. He says he &quot;eat mathematics&quot;, I prefer\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/kedar.nitty-witty.com\/blog\/my-worst-mathematical-program\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2010-08-04T18:02:23+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2014-06-24T17:53:33+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"My worst mathematical program in perl | Change Is Inevitable\" \/>\n\t\t<meta name=\"twitter:description\" content=\"I have a Mathe-crap-matical friend. Who keeps digging into graves of dead formulas and equations and all possible Math related stuffs. Since I started understanding Mathematics (that it&#039;s not my cup of tea), I tried to stay away from it. Now, that enthu creature mailed me his requirement. He says he &quot;eat mathematics&quot;, I prefer\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/my-worst-mathematical-program#article\",\"name\":\"My worst mathematical program in perl | Change Is Inevitable\",\"headline\":\"My worst mathematical program in perl\",\"author\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"http:\\\/\\\/kedar.nitty-witty.com\\\/wp-content\\\/uploads\\\/2010\\\/08\\\/maths-program-271x300.jpg\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/my-worst-mathematical-program\\\/#articleImage\"},\"datePublished\":\"2010-08-04T18:02:23+00:00\",\"dateModified\":\"2014-06-24T17:53:33+00:00\",\"inLanguage\":\"en-US\",\"commentCount\":3,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/my-worst-mathematical-program#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/my-worst-mathematical-program#webpage\"},\"articleSection\":\"Technical, code, General, mathematics, perl program, perl sample code, program\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/my-worst-mathematical-program#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/technical#listItem\",\"name\":\"Technical\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/technical#listItem\",\"position\":2,\"name\":\"Technical\",\"item\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/technical\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/my-worst-mathematical-program#listItem\",\"name\":\"My worst mathematical program in perl\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/my-worst-mathematical-program#listItem\",\"position\":3,\"name\":\"My worst mathematical program in perl\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/technical#listItem\",\"name\":\"Technical\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#person\",\"name\":\"Kedar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/my-worst-mathematical-program#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Kedar\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\",\"url\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin\",\"name\":\"Kedar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/my-worst-mathematical-program#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Kedar\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/my-worst-mathematical-program#webpage\",\"url\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/my-worst-mathematical-program\",\"name\":\"My worst mathematical program in perl | Change Is Inevitable\",\"description\":\"I have a Mathe-crap-matical friend. Who keeps digging into graves of dead formulas and equations and all possible Math related stuffs. Since I started understanding Mathematics (that it's not my cup of tea), I tried to stay away from it. Now, that enthu creature mailed me his requirement. He says he \\\"eat mathematics\\\", I prefer\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/my-worst-mathematical-program#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\"},\"datePublished\":\"2010-08-04T18:02:23+00:00\",\"dateModified\":\"2014-06-24T17:53:33+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/\",\"name\":\"..::CHANGE is INEVITABLE::..\",\"description\":\"Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"My worst mathematical program in perl | Change Is Inevitable","description":"I have a Mathe-crap-matical friend. Who keeps digging into graves of dead formulas and equations and all possible Math related stuffs. Since I started understanding Mathematics (that it's not my cup of tea), I tried to stay away from it. Now, that enthu creature mailed me his requirement. He says he \"eat mathematics\", I prefer","canonical_url":"https:\/\/kedar.nitty-witty.com\/blog\/my-worst-mathematical-program","robots":"max-image-preview:large","keywords":"code,general,mathematics,perl program,perl sample code,program","webmasterTools":{"google-site-verification":"_Bu1h5r0PxIC0D2jBVdmYN45RTeG9ogcX85XLkbG1qA","msvalidate.01":"116B62074CBCA1BA99B8CCE09CCF2FB8","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kedar.nitty-witty.com\/blog\/my-worst-mathematical-program#article","name":"My worst mathematical program in perl | Change Is Inevitable","headline":"My worst mathematical program in perl","author":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author"},"publisher":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/#person"},"image":{"@type":"ImageObject","url":"http:\/\/kedar.nitty-witty.com\/wp-content\/uploads\/2010\/08\/maths-program-271x300.jpg","@id":"https:\/\/kedar.nitty-witty.com\/blog\/my-worst-mathematical-program\/#articleImage"},"datePublished":"2010-08-04T18:02:23+00:00","dateModified":"2014-06-24T17:53:33+00:00","inLanguage":"en-US","commentCount":3,"mainEntityOfPage":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/my-worst-mathematical-program#webpage"},"isPartOf":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/my-worst-mathematical-program#webpage"},"articleSection":"Technical, code, General, mathematics, perl program, perl sample code, program"},{"@type":"BreadcrumbList","@id":"https:\/\/kedar.nitty-witty.com\/blog\/my-worst-mathematical-program#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/kedar.nitty-witty.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/technical#listItem","name":"Technical"}},{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/technical#listItem","position":2,"name":"Technical","item":"https:\/\/kedar.nitty-witty.com\/blog\/category\/technical","nextItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/my-worst-mathematical-program#listItem","name":"My worst mathematical program in perl"},"previousItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/my-worst-mathematical-program#listItem","position":3,"name":"My worst mathematical program in perl","previousItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/technical#listItem","name":"Technical"}}]},{"@type":"Person","@id":"https:\/\/kedar.nitty-witty.com\/blog\/#person","name":"Kedar","image":{"@type":"ImageObject","@id":"https:\/\/kedar.nitty-witty.com\/blog\/my-worst-mathematical-program#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g","width":96,"height":96,"caption":"Kedar"}},{"@type":"Person","@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author","url":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin","name":"Kedar","image":{"@type":"ImageObject","@id":"https:\/\/kedar.nitty-witty.com\/blog\/my-worst-mathematical-program#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g","width":96,"height":96,"caption":"Kedar"}},{"@type":"WebPage","@id":"https:\/\/kedar.nitty-witty.com\/blog\/my-worst-mathematical-program#webpage","url":"https:\/\/kedar.nitty-witty.com\/blog\/my-worst-mathematical-program","name":"My worst mathematical program in perl | Change Is Inevitable","description":"I have a Mathe-crap-matical friend. Who keeps digging into graves of dead formulas and equations and all possible Math related stuffs. Since I started understanding Mathematics (that it's not my cup of tea), I tried to stay away from it. Now, that enthu creature mailed me his requirement. He says he \"eat mathematics\", I prefer","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/my-worst-mathematical-program#breadcrumblist"},"author":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author"},"creator":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author"},"datePublished":"2010-08-04T18:02:23+00:00","dateModified":"2014-06-24T17:53:33+00:00"},{"@type":"WebSite","@id":"https:\/\/kedar.nitty-witty.com\/blog\/#website","url":"https:\/\/kedar.nitty-witty.com\/blog\/","name":"..::CHANGE is INEVITABLE::..","description":"Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects","inLanguage":"en-US","publisher":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/#person"}}]},"og:locale":"en_US","og:site_name":"Change Is Inevitable | Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects","og:type":"article","og:title":"My worst mathematical program in perl | Change Is Inevitable","og:description":"I have a Mathe-crap-matical friend. Who keeps digging into graves of dead formulas and equations and all possible Math related stuffs. Since I started understanding Mathematics (that it's not my cup of tea), I tried to stay away from it. Now, that enthu creature mailed me his requirement. He says he &quot;eat mathematics&quot;, I prefer","og:url":"https:\/\/kedar.nitty-witty.com\/blog\/my-worst-mathematical-program","article:published_time":"2010-08-04T18:02:23+00:00","article:modified_time":"2014-06-24T17:53:33+00:00","twitter:card":"summary","twitter:title":"My worst mathematical program in perl | Change Is Inevitable","twitter:description":"I have a Mathe-crap-matical friend. Who keeps digging into graves of dead formulas and equations and all possible Math related stuffs. Since I started understanding Mathematics (that it's not my cup of tea), I tried to stay away from it. Now, that enthu creature mailed me his requirement. He says he &quot;eat mathematics&quot;, I prefer"},"aioseo_meta_data":{"post_id":"1016","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-03-24 17:46:05","updated":"2025-08-16 19:10:36","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/kedar.nitty-witty.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/kedar.nitty-witty.com\/blog\/category\/technical\" title=\"Technical\">Technical<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tMy worst mathematical program in perl\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/kedar.nitty-witty.com\/blog"},{"label":"Technical","link":"https:\/\/kedar.nitty-witty.com\/blog\/category\/technical"},{"label":"My worst mathematical program in perl","link":"https:\/\/kedar.nitty-witty.com\/blog\/my-worst-mathematical-program"}],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/1016","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/comments?post=1016"}],"version-history":[{"count":4,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/1016\/revisions"}],"predecessor-version":[{"id":1941,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/1016\/revisions\/1941"}],"wp:attachment":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/media?parent=1016"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/categories?post=1016"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/tags?post=1016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}