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.

A352689 a(n) is the last term of the first run of A331786(n) consecutive numbers whose sum of digits (A007953) is not divisible by n.

This page as a plain text file.
%I A352689 #17 Apr 14 2022 15:18:23
%S A352689 10,2,1002,13,14,1005,10000006,8,18,1000018,38,10000000038,1048,1058,
%T A352689 10000068,1000000000000078,98,198,100000000198,398,100000000000000398,
%U A352689 100498,100598,100000000698,100000000000000000000798,998,1998,10000000000001998,3998,1000000000000000000003998
%N A352689 a(n) is the last term of the first run of A331786(n) consecutive numbers whose sum of digits (A007953) is not divisible by n.
%C A352689 A331786(n) is the number of consecutive integers in the largest such possible run.
%H A352689 Diophante, <a href="http://www.diophante.fr/problemes-par-themes/arithmetique-et-algebre/a3-nombres-remarquables/5026-a389-les-decaxphobes">A389 - Les décaXphobes</a> (in French).
%F A352689 a(n) = A352688(n) + A331786(n) - 1.
%e A352689 a(4) = 1002 because the A331786(4) = 6 consecutive numbers 997, 998, 999, 1000, 1001, 1002 have respectively sum of digits = 25, 26, 27, 1, 2, 3 and none is divisible by 4, and there is no smaller m < 1002 such that sum of digits of m-5, m-4, m-3, m2, m-1, m is not divisible by 4.
%Y A352689 Cf. A007953, A331786, A331788, A352688.
%K A352689 nonn,base
%O A352689 2,1
%A A352689 _Bernard Schott_, Mar 28 2022
%E A352689 More terms from _Jinyuan Wang_, Mar 28 2022