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.

A341174 Numbers that when divided by the sum of their digits leave 7 as remainder.

Original entry on oeis.org

29, 37, 71, 77, 85, 127, 128, 143, 215, 217, 227, 295, 296, 307, 319, 326, 329, 425, 431, 436, 439, 449, 455, 503, 524, 553, 577, 581, 583, 587, 623, 670, 707, 722, 727, 748, 755, 767, 821, 833, 871, 904, 908, 919, 920, 947, 1007, 1019, 1027, 1085, 1117, 1118, 1138, 1151, 1159
Offset: 1

Views

Author

Eric Angelini and Carole Dubois, Feb 06 2021

Keywords

Examples

			a(1) = 29 and 29 is 11*2 with remainder 7;
a(2) = 37 and 37 is 10*3 with remainder 7; etc.
		

Crossrefs

Cf. A005349 (Niven numbers: remainder = 0), A209871 (Quasi-Niven numbers: remainder = 1), A341169 to A341182 (remainders = 2 to 15).

Programs

  • PARI
    isok(n) = n%sumdigits(n) == 7; \\ Michel Marcus, Feb 06 2021