The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A364664 Lexicographically earliest permutation of the positive integers such that the successive cumulative sums reproduce the sequence itself, digit by digit. 2
91, 10, 1, 102, 20, 4, 2, 24, 22, 8, 230, 25, 42, 7, 6, 28, 45, 14, 5, 3, 9, 58, 15, 88, 59, 46, 226, 67, 68, 16, 86, 689, 69, 87, 56, 77, 18, 599, 189, 64, 11, 90, 12, 57, 13, 251, 34, 114, 27, 21, 162, 185, 227, 223, 282, 40, 52, 423, 30, 2232, 113, 275, 32, 863, 37, 63, 38, 83, 44, 53 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Giorgos Kalogeropoulos, Table of n, a(n) for n = 1..5000
Eric Angelini, Cumulative Sums, personal blog.
EXAMPLE
a(1) = 91
a(1) + a(2) = 101
a(1) + a(2) + a(3) = 102
a(1) + a(2) + a(3) + a(4) = 204
a(1) + a(2) + a(3) + a(4) + a(5) = 224
a(1) + a(2) + a(3) + a(4) + a(5) + a(6) = 228; etc.
The succession of the above results is:
91, 101, 102, 204, 224, 228, ...
The first terms of the sequence are:
91, 10, 1, 102, 20, 4, 2, 24, 22, 8, ...
We see that the successive digits are the same in the two sequences.
MATHEMATICA
Nest[(a=#; AppendTo[a, (new=Flatten[IntegerDigits/@Accumulate@#][[Length@Flatten[IntegerDigits/@a]+1;; ]];
k=1; While[MemberQ[a, FromDigits@new[[;; k]]]||new[[k+1]]==0, k++]; FromDigits@new[[;; k]])])&, {91, 10}, 77] (* Giorgos Kalogeropoulos, Aug 05 2023 *)
CROSSREFS
Cf. A309151.
Sequence in context: A368433 A283896 A284439 * A119656 A368238 A339141
KEYWORD
base,nonn
AUTHOR
Eric Angelini, Aug 01 2023
EXTENSIONS
More terms from Giorgos Kalogeropoulos, Aug 05 2023
a(28) on corrected by Giorgos Kalogeropoulos, Aug 05 2023
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 June 9 02:41 EDT 2024. Contains 373227 sequences. (Running on oeis4.)