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.

A339076 Numbers which are coprime to their digital sum (A007953).

Original entry on oeis.org

1, 10, 11, 13, 14, 16, 17, 19, 23, 25, 29, 31, 32, 34, 35, 37, 38, 41, 43, 47, 49, 52, 53, 56, 58, 59, 61, 65, 67, 71, 73, 74, 76, 79, 83, 85, 89, 91, 92, 94, 95, 97, 98, 100, 101, 103, 104, 106, 107, 109, 113, 115, 119, 121, 122, 124, 125, 127, 128, 131, 137
Offset: 1

Views

Author

Amiram Eldar, Nov 22 2020

Keywords

Comments

Numbers k such that gcd(k, A007953(k)) = 1.
Olivier (1975, 1976) proved that the asymptotic density of this sequence is 9/(2*Pi^2) = 0.455945... (A088245).
None of the terms are divisible by 3.
The powers of 10 (A011557) are terms. These are also the only Niven numbers (A005349) in this sequence.
Includes all the prime numbers above 7.

Examples

			10 is a term since A007953(10) = 1 + 0 = 1, and gcd(10, 1) = 1.
		

Crossrefs

Subsequence of A001651.
Subsequence: A011557.
Binary version: A094387.

Programs

  • Mathematica
    Select[Range[200], CoprimeQ[#, Plus @@ IntegerDigits[#]] &]