Happy primes up to 1022387

Happy primes: Primes that eventually reach 1 under iteration of: x -> sum of squares of digits of x.

Highest happy prime in our database is 10000th which is 881249

Checkout happy primes up to: 100, 500, 1000, 10000.

List#

7, 13, 19, 23, 31, 79, 97, 103, 109, 139, 167, 193, 239, 263, 293, 313, 331, 367, 379, 383, 397, 409, 487, 563, 617, 653, 673, 683, 709, 739, 761, 863, 881, 907, 937, 1009, 1033, 1039, 1093, 1151, 1277, 1303, 1373, 1427, 1447, 1481, 1487, 1511, 1607, 1663, 1697, 1733, 1847, 1933, 2003, 2039, 2063, 2111, 2221, 2309, 2333, 2339, 2383, 2393, 2417, 2557, 2693, 2741, 2833, 2851, 2903, 2963, 3001, 3019, 3067, 3079, 3083, 3109, 3137, 3209, 3301, 3313, 3319, 3323, 3329, 3331, 3371, 3391, 3463, 3607, 3637, 3643, 3673, 3709, 3779, 3797, 3803, 3823, 3833, 3907, 3923, 3931, 4111, 4127, 4157, 4217, 4271, 4363, 4441, 4447, 4481, 4517, 4663, 4721, 4751, 4817, 4871, 5147, 5227, 5281, 5417, 5471, 5477, 5527, 5569, 5659, 5741, 5821, 5879, 5897, 5987, 6037, 6053, 6073, 6163, 6197, 6203, 6329, 6337, 6343, 6353, 6361, 6367, 6373, 6389, 6637, 6661, 6673, 6701, 6703, 6719, 6733, 6763, 6791, 6803, 6899, 6917, 6971, 6983, 7039, 7127, 7309, 7331, 7451, 7457, 7481, 7541, 7547, 7589, 7603, 7691, 7793, 7841, 7937, 8081, 8147, 8233, 8369, 8521, 8597, 8693, 8699, 8741, 8821, 8929, 8963, 8969, 9001, 9007, 9013, 9103, 9133, 9203, 9323, 9377, 9587, 9623, 9689, 9829, 9857, 10009, 10039, 10067, 10093, 10141, 10151, 10177, 10211, 10247, 10303, 10333, 10337, 10427, 10457, 10487, 10607, 10663, 10733, 10771, 10847, 10903, 11113, 11131, 11149, 11159, 11197, 11243, 11251, 11311, 11423, 11467, 11471, 11483, 11491, 11519, 11681, 11719, 11941, 11971, 12011, 12101, 12143, 12149, 12347, 12413, 12437, 12473, 12491, 12511, 12583, 12671, 12743, 12823, 12841, 12853, 12941, 12959, 13003, 13009, 13033, 13037, 13093, 13177, 13241, 13309, 13339, 13411, 13421, 13457, 13487, 13499, 13577, 13679, 13697, 13757, 13841, 13903, 13933, 13967, 14011, 14057, 14081, 14087, 14207, 14281, 14321, 14327, 14347, 14387, 14407, 14437, 14449, 14461, 14537, 14549, 14551, 14561, 14723, 14753, 14783, 14813, 14821, 14831, 14939, 15101, 15121, 15299, 15377, 15451, 15461, 15473, 15541, 15641, 15679, 15737, 15773, 15787, 15823, 15877, 15887, 16007, 16063, 16097, 16127, 16217, 16363, 16417, 16451, 16603, 16633, 16741, 16759, 16811, 16937, 16993, 17027, 17033, 17107, 17137, 17191, 17207, 17317, 17443, 17483, 17569, 17573, 17609, 17627, 17659, 17669, 17713, 17827, 17911, 18041, 18047, 18143, 18223, 18253, 18341, 18401, 18413, 18523, 18587, 18743, 18757, 18839, 18899, 19141, 19259, 19333, 19421, 19699, 19763, 19889, 19963, 19979, 19997, 20063, 20147, 20177, 20333, 20369, 20393, 20639, 20693, 20717, 20771, 20899, 20903, 20963, 21011, 21101, 21143, 21149, 21283, 21341, 21347, 21407, 21419, 21481, 21491, 21599, 21617, 21767, 21787, 21841, 22129, 22229, 22273, 22291, 22381, 22483, 22549, 22573, 22621, 22651, 22783, 22861, 22921, 23039, 23227, 23369, 23417, 23447, 23581, 23609, 23663, 23741, 23827, 23887, 23893, 23899, 23977, 24071, 24107, 24113, 24137, 24181, 24229, 24317, 24371, 24473, 24683, 24859, 25057, 25111, 25183, 25237, 25261, 25453, 25561, 25621, 25657, 25801, 25849, 25919, 26003, 26171, 26177, 26227, 26251, 26267, 26309, 26339, 26393, 26557, 26627, 26633, 26669, 26711, 26717, 26821, 26903, 27017, 27107, 27143, 27253, 27283, 27299, 27397, 27431, 27611, 27617, 27697, 27701, 27739, 27793, 27817, 27823, 27883, 27967, 28051, 28081, 28099, 28123, 28351, 28387, 28393, 28411, 28463, 28513, 28549, 28621, 28643, 28723, 28771, 28789, 28837, 28879, 28909, 28933, 29033, 29063, 29221, 29297, 29303, 29363, 29383, 29389, 29411, 29633, 29833, 29927, 29983, 30013, 30029, 30091, 30097, 30103, 30109, 30133, 30137, 30139, 30269, 30293, 30313, 30319, 30323, 30367, 30391, 30553, 30637, 30643, 30661, 30689, 30713, 30763, 30803, 30869, 30931, 30977, 31033, 31039, 31177, 31247, 31307, 31393, 31481, 31547, 31663, 31699, 31769, 31771, 31847, 32009, 32069, 32083, 32141, 32257, 32303, 32309, 32369, 32411, 32609, 32693, 32779, 32797, 32803, 32839, 32887, 32983, 33013, 33023, 33029, 33071, 33083, 33091, 33107, 33203, 33289, 33301, 33359, 33391, 33413, 33589, 33629, 33829, 33931, 34127, 34147, 34157, 34211, 34217, 34313, 34471, 34499, 34603, 34721, 34747, 34781, 34871, 34897, 34919, 34949, 35053, 35227, 35281, 35339, 35393, 35569, 35603, 35771, 35839, 35933, 35983, 36007, 36037, 36061, 36067, 36073, 36209, 36263, 36293, 36307, 36343, 36433, 36559, 36607, 36637, 36791, 36809, 36919, 36923, 37013, 37097, 37117, 37171, 37441, 37447, 37489, 37517, 37571, 37619, 37663, 37691, 37907, 38069, 38189, 38239, 38287, 38299, 38303, 38329, 38333, 38593, 38609, 38669, 38749, 38891, 38923, 38953, 39023, 39103, 39133, 39301, 39313, 39419, 39619, 39623, 39671, 39727, 39749, 39761, 39799, 39829, 39847, 39979, 40009, 40087, 40111, 40127, 40471, 40577, 40609, 40751, 40841, 41011, 41047, 41057, 41081, 41113, 41117, 41131, 41183, 41213, 41231, 41281, 41333, 41357, 41381, 41387, 41399, 41507, 41549, 41617, 41641, 41651, 41761, 41801, 41813, 41911, 42017, 42071, 42131, 42181, 42283, 42437, 42473, 42589, 42683, 42701, 42743, 42859, 42863, 43063, 43133, 43271, 43313, 43331, 43427, 43499, 43517, 43633, 43721, 43781, 43789, 43987, 43991, 43997, 44017, 44041, 44071, 44159, 44249, 44273, 44371, 44453, 44491, 44519, 44543, 44633, 44647, 44651, 44699, 44701, 44773, 44789, 44879, 44939, 44959, 44987, 45077, 45137, 45161, 45289, 45317, 45491, 45523, 45553, 45641, 45707, 45853, 45949, 46141, 46171, 46411, 46447, 46451, 46499, 46511, 46663, 46997, 47041, 47051, 47057, 47111, 47123, 47143, 47161, 47351, 47381, 47389, 47407, 47431, 47501, 47507, 47513, 47699, 47743, 47857, 47939, 47969, 48017, 48121, 48131, 48259, 48311, 48371, 48397, 48449, 48479, 48497, 48623, 48731, 48757, 48799, 48947, 48973, 49121, 49139, 49193, 49211, 49391, 49451, 49459, 49549, 49697, 49739, 49783, 49789, 49937, 49943, 50111, 50147, 50227, 50363, 50417, 50527, 50741, 50789, 50821, 51047, 51283, 51347, 51407, 51437, 51449, 51461, 51473, 51679, 51769, 51787, 51929, 52027, 52057, 52081, 52183, 52237, 52249, 52259, 52453, 52489, 52529, 52543, 52561, 52567, 52813, 52861, 52919, 53147, 53281, 53503, 53569, 53717, 54151, 54371, 54419, 54443, 54499, 54583, 54713, 54787, 54829, 54877, 54941, 54949, 55207, 55229, 55243, 55411, 55609, 55621, 55639, 55843, 56003, 56179, 56197, 56359, 56509, 56527, 56569, 56659, 56821, 57041, 57047, 57089, 57143, 57173, 57223, 57413, 57487, 57713, 57727, 57731, 57781, 57787, 57809, 57847, 57881, 58231, 58321, 58393, 58453, 58477, 58543, 58771, 58907, 59167, 59219, 59333, 59441, 59617, 59671, 59833, 59921, 60017, 60037, 60083, 60107, 60293, 60337, 60343, 60353, 60373, 60631, 60637, 60661, 60703, 60719, 60733, 60763, 60899, 60917, 60923, 61007, 61363, 61379, 61417, 61441, 61471, 61603, 61967, 62003, 62039, 62171, 62483, 62581, 62627, 62633, 62851, 62903, 63029, 63067, 63073, 63179, 63197, 63199, 63361, 63367, 63443, 63559, 63601, 63607, 63689, 63703, 63719, 63809, 64033, 64063, 64151

Table#

 12345678910
1 - 107131923317997103109139
11 - 20167193239263293313331367379383
21 - 30397409487563617653673683709739
31 - 4076186388190793710091033103910931151
41 - 501277130313731427144714811487151116071663
51 - 601697173318471933200320392063211122212309
61 - 702333233923832393241725572693274128332851
71 - 802903296330013019306730793083310931373209
81 - 903301331333193323332933313371339134633607
91 - 1003637364336733709377937973803382338333907
101 - 1103923393141114127415742174271436344414447
111 - 1204481451746634721475148174871514752275281
121 - 1305417547154775527556956595741582158795897
131 - 1405987603760536073616361976203632963376343
141 - 1506353636163676373638966376661667367016703
151 - 1606719673367636791680368996917697169837039
161 - 1707127730973317451745774817541754775897603
171 - 1807691779378417937808181478233836985218597
181 - 1908693869987418821892989638969900190079013
191 - 2009103913392039323937795879623968998299857
201 - 21010009100391006710093101411015110177102111024710303
211 - 22010333103371042710457104871060710663107331077110847
221 - 23010903111131113111149111591119711243112511131111423
231 - 24011467114711148311491115191168111719119411197112011
241 - 25012101121431214912347124131243712473124911251112583
251 - 26012671127431282312841128531294112959130031300913033
261 - 27013037130931317713241133091333913411134211345713487
271 - 28013499135771367913697137571384113903139331396714011
281 - 29014057140811408714207142811432114327143471438714407
291 - 30014437144491446114537145491455114561147231475314783
301 - 31014813148211483114939151011512115299153771545115461
311 - 32015473155411564115679157371577315787158231587715887
321 - 33016007160631609716127162171636316417164511660316633
331 - 34016741167591681116937169931702717033171071713717191
341 - 35017207173171744317483175691757317609176271765917669
351 - 36017713178271791118041180471814318223182531834118401
361 - 37018413185231858718743187571883918899191411925919333
371 - 38019421196991976319889199631997919997200632014720177
381 - 39020333203692039320639206932071720771208992090320963
391 - 40021011211012114321149212832134121347214072141921481
401 - 41021491215992161721767217872184122129222292227322291
411 - 42022381224832254922573226212265122783228612292123039
421 - 43023227233692341723447235812360923663237412382723887
431 - 44023893238992397724071241072411324137241812422924317
441 - 45024371244732468324859250572511125183252372526125453
451 - 46025561256212565725801258492591926003261712617726227
461 - 47026251262672630926339263932655726627266332666926711
471 - 48026717268212690327017271072714327253272832729927397
481 - 49027431276112761727697277012773927793278172782327883
491 - 50027967280512808128099281232835128387283932841128463
501 - 51028513285492862128643287232877128789288372887928909
511 - 52028933290332906329221292972930329363293832938929411
521 - 53029633298332992729983300133002930091300973010330109
531 - 54030133301373013930269302933031330319303233036730391
541 - 55030553306373064330661306893071330763308033086930931
551 - 56030977310333103931177312473130731393314813154731663
561 - 57031699317693177131847320093206932083321413225732303
571 - 58032309323693241132609326933277932797328033283932887
581 - 59032983330133302333029330713308333091331073320333289
591 - 60033301333593339133413335893362933829339313412734147
601 - 61034157342113421734313344713449934603347213474734781
611 - 62034871348973491934949350533522735281353393539335569
621 - 63035603357713583935933359833600736037360613606736073
631 - 64036209362633629336307363433643336559366073663736791
641 - 65036809369193692337013370973711737171374413744737489
651 - 66037517375713761937663376913790738069381893823938287
661 - 67038299383033832938333385933860938669387493889138923
671 - 68038953390233910339133393013931339419396193962339671
681 - 69039727397493976139799398293984739979400094008740111
691 - 70040127404714057740609407514084141011410474105741081
701 - 71041113411174113141183412134123141281413334135741381
711 - 72041387413994150741549416174164141651417614180141813
721 - 73041911420174207142131421814228342437424734258942683
731 - 74042701427434285942863430634313343271433134333143427
741 - 75043499435174363343721437814378943987439914399744017
751 - 76044041440714415944249442734437144453444914451944543
761 - 77044633446474465144699447014477344789448794493944959
771 - 78044987450774513745161452894531745491455234555345641
781 - 79045707458534594946141461714641146447464514649946511
791 - 80046663469974704147051470574711147123471434716147351
801 - 81047381473894740747431475014750747513476994774347857
811 - 82047939479694801748121481314825948311483714839748449
821 - 83048479484974862348731487574879948947489734912149139
831 - 84049193492114939149451494594954949697497394978349789
841 - 85049937499435011150147502275036350417505275074150789
851 - 86050821510475128351347514075143751449514615147351679
861 - 87051769517875192952027520575208152183522375224952259
871 - 88052453524895252952543525615256752813528615291953147
881 - 89053281535035356953717541515437154419544435449954583
891 - 90054713547875482954877549415494955207552295524355411
901 - 91055609556215563955843560035617956197563595650956527
911 - 92056569566595682157041570475708957143571735722357413
921 - 93057487577135772757731577815778757809578475788158231
931 - 94058321583935845358477585435877158907591675921959333
941 - 95059441596175967159833599216001760037600836010760293
951 - 96060337603436035360373606316063760661607036071960733
961 - 97060763608996091760923610076136361379614176144161471
971 - 98061603619676200362039621716248362581626276263362851
981 - 99062903630296306763073631796319763199633616336763443
991 - 100063559636016360763689637036371963809640336406364151
This website uses cookies to ensure you get the best experience on our website. More info