cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A257629 Duplicate of A276729.

Original entry on oeis.org

1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 2, 2, 1, 1, 2, 1, 2, 1, 2, 2, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 2, 2, 1, 1, 2, 1, 2, 1, 2, 2, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 2, 2, 1, 1, 2, 1, 2, 1, 2, 2, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 2, 2, 1, 1, 2, 1, 2, 1, 2, 2, 2, 2, 1, 1, 2, 1, 2, 1, 2, 2, 3
Offset: 0

Views

Author

Giovanni Teofilatto, Jul 12 2015

Keywords

Examples

			a(10344) = 4 because 4 of the digits of 10344 (1, 0, 4 and 4) are nonprime.
		

Crossrefs

Cf. A055642 (number of digits), A193238 (number of prime digits), A046034.

Programs

Formula

a(n) = A055642(n) - A193238(n). - Michel Marcus, Jul 14 2015

Extensions

Corrected and extended by Giovanni Resta, Jul 14 2015
Corrected and extended by Harvey P. Dale, Jan 16 2017