Robot | Path | Permission |
GoogleBot | / | ✔ |
BingBot | / | ✔ |
BaiduSpider | / | ✔ |
YandexBot | / | ✔ |
User-agent: * Disallow: Sitemap: |
Title | Mike |
Description | > Mike What is a Happy Number? Starting with any positive integer, replace the number by the sum of the squares of its digits, and repeat the process until |
Keywords | N/A |
WebSite | mikevalenty.com |
Host IP | 192.30.252.153 |
Location | United States |
Site | Rank |
US$370,654
Last updated: 2023-05-16 03:09:44
mikevalenty.com has Semrush global rank of 28,555,751. mikevalenty.com has an estimated worth of US$ 370,654, based on its estimated Ads revenue. mikevalenty.com receives approximately 42,768 unique visitors each day. Its web server is located in United States, with IP address 192.30.252.153. According to SiteAdvisor, mikevalenty.com is safe to visit. |
Purchase/Sale Value | US$370,654 |
Daily Ads Revenue | US$343 |
Monthly Ads Revenue | US$10,265 |
Yearly Ads Revenue | US$123,172 |
Daily Unique Visitors | 2,852 |
Note: All traffic and earnings values are estimates. |
Host | Type | TTL | Data |
mikevalenty.com. | A | 300 | IP: 192.30.252.153 |
mikevalenty.com. | A | 300 | IP: 192.30.252.154 |
mikevalenty.com. | NS | 86400 | NS Record: ns-24.awsdns-03.com. |
mikevalenty.com. | NS | 86400 | NS Record: ns-809.awsdns-37.net. |
mikevalenty.com. | NS | 86400 | NS Record: ns-1193.awsdns-21.org. |
mikevalenty.com. | NS | 86400 | NS Record: ns-2045.awsdns-63.co.uk. |
> Mike Valenty RSS Blog Archives Contact Me Scala Solution to Finding Happy Numbers May 3 rd , 2015 10:45 am | Comments What is a Happy Number? Starting with any positive integer, replace the number by the sum of the squares of its digits, and repeat the process until the number equals 1 (where it will stay), or it loops endlessly in a cycle which does not include 1. http://en.wikipedia.org/wiki/Happy_number 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 @RunWith ( classOf [ JUnitRunner ]) class HappyTests extends FunSuite with ShouldMatchers { def happy ( x : Int ) : Boolean = { def sumOfSquares ( x : Int ) : Int = { def digits ( x : Int ) : Seq [ Int ] = if ( x < 10 ) Seq ( x ) else digits ( x / 10 ) :+ x % 10 def squared ( x : Int ) : Int = x * x digits ( x ). map ( squared ). sum } def loop ( seen : Set [ Int ], x : Int ) : Boolean = { x match { case 1 => true case _ if seen . contains ( x ) => false case _ => loop ( seen + x , |
HTTP/1.1 301 Moved Permanently Server: GitHub.com Date: Tue, 18 Jan 2022 08:18:37 GMT Content-Type: text/html Content-Length: 162 Location: http://www.mikevalenty.com/ X-GitHub-Request-Id: ED70:17F7:8B047C:D51076:61E677DD HTTP/1.1 200 OK Server: GitHub.com Content-Type: text/html; charset=utf-8 Last-Modified: Sun, 10 May 2015 14:36:56 GMT Access-Control-Allow-Origin: * ETag: "554f6d08-1170d" expires: Tue, 18 Jan 2022 08:28:37 GMT Cache-Control: max-age=600 x-proxy-cache: MISS X-GitHub-Request-Id: CC60:11D52:6812F0:735EB4:61E677DD Content-Length: 71437 Accept-Ranges: bytes Date: Tue, 18 Jan 2022 08:18:37 GMT Via: 1.1 varnish Age: 0 Connection: keep-alive X-Served-By: cache-hel1410024-HEL X-Cache: MISS X-Cache-Hits: 0 X-Timer: S1642493918.789894,VS0,VE142 Vary: Accept-Encoding X-Fastly-Request-ID: 2bb7cd4470a3f24f8f09ecfeeb6afb69d6d8a0a9 |
Domain Name: MIKEVALENTY.COM Registry Domain ID: 1926781157_DOMAIN_COM-VRSN Registrar WHOIS Server: whois.gandi.net Registrar URL: http://www.gandi.net Updated Date: 2021-04-03T19:27:53Z Creation Date: 2015-05-08T05:12:15Z Registry Expiry Date: 2022-05-08T05:12:15Z Registrar: Gandi SAS Registrar IANA ID: 81 Registrar Abuse Contact Email: abuse@support.gandi.net Registrar Abuse Contact Phone: +33.170377661 Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited Name Server: NS-1193.AWSDNS-21.ORG Name Server: NS-2045.AWSDNS-63.CO.UK Name Server: NS-24.AWSDNS-03.COM Name Server: NS-809.AWSDNS-37.NET DNSSEC: unsigned >>> Last update of whois database: 2022-01-18T07:51:18Z <<< |