Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".
Table of n, a(n) for n=1..57.
Cf. unhappy numbers (A031177), happy primes (A035497).
Sequence in context: A211204 A023206 A049565 * A215013 A038909 A073534
Adjacent sequences: A094477 A094478 A094479 * A094481 A094482 A094483
Gerard Schildberger, Jun 05 2004