login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


A077293
Partition the concatenation 1234567...of natural numbers into successive strings nontrivially (a(n) is not equal to n) such that the n-th string is a multiple of n.
16
12, 34, 567, 8, 910, 111213141516, 17181920, 2122232425262728, 293031, 323334353637383940, 41424344454647, 48, 49505152535455565758596061626364, 6566, 676869707172737475, 767778798081828384, 85, 868788
OFFSET
1,1
COMMENTS
a(1) = 12, a(n) = smallest concatenation of next successive natural numbers that is a multiple of n, or 0 if no such concatenation exists.
a(1) = 1 would have given a trivial sequence 1,2,3,4,5....
Every partial concatenation is a left substring of the concatenation of natural numbers.
FORMULA
a(n) = A077294(n)*n. - Jinyuan Wang, May 16 2020
EXAMPLE
a(2) = 34 = 2*17; a(7) = 17181920 = 7*2454560.
PROG
(PARI) lista(nn) = {my(k=0, m); for(n=1, nn, m=k++; while(m%n>0 || m==n, m=eval(Str(m, k++))); print1(m, ", ")); } \\ Jinyuan Wang, May 16 2020
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Amarnath Murthy, Nov 03 2002
EXTENSIONS
Corrected and extended by Ray Chandler, Oct 18 2003
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 20 06:55 EDT 2024. Contains 376067 sequences. (Running on oeis4.)