Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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. 2
10, 2, 1002, 13, 14, 1005, 10000006, 8, 18, 1000018, 38, 10000000038, 1048, 1058, 10000068, 1000000000000078, 98, 198, 100000000198, 398, 100000000000000398, 100498, 100598, 100000000698, 100000000000000000000798, 998, 1998, 10000000000001998, 3998, 1000000000000000000003998 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
COMMENTS
A331786(n) is the number of consecutive integers in the largest such possible run.
LINKS
Diophante, A389 - Les décaXphobes (in French).
FORMULA
a(n) = A352688(n) + A331786(n) - 1.
EXAMPLE
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.
CROSSREFS
Sequence in context: A038304 A290308 A354941 * A159005 A144859 A280519
KEYWORD
nonn,base
AUTHOR
Bernard Schott, Mar 28 2022
EXTENSIONS
More terms from Jinyuan Wang, Mar 28 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 27 19:37 EDT 2024. Contains 375471 sequences. (Running on oeis4.)