

A248129


The limiting sequence of terms preceding the 0's in A248128.


4



0, 15, 3, 9, 27, 21, 6, 3, 6, 18, 9, 18, 24, 3, 27, 24, 3, 12, 6, 9, 21, 6, 12, 6, 9, 6, 3, 18, 27, 3, 6, 18, 6, 3, 18, 27, 18, 9, 24, 3, 21, 6, 9, 18, 24, 3, 18, 9, 24, 3, 21, 6, 24, 3, 27, 12, 6, 9, 3, 6, 18, 27, 24, 3, 12, 6, 9, 24, 3, 27, 12, 6, 9, 3, 6, 18, 12, 6, 9, 21
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,2


COMMENTS

It can be shown that the terms in between two 0's of sequence A248128 consist of some additional terms followed by the preceding chunk of terms delimited by two 0's. This means that this sequence has a limit "from right to left", equal to ...,27,3,24,18,9,18,6,3,6,21,27,9,3,15,0. The present sequence lists this limiting sequence, starting with the rightmost term.
It seems natural to take the offset equal to 0, cf formula.
By construction of A248128, all terms are divisible by 3; A248129(n) = a(n)/3 yields the nth *digit* preceding a 0 in A248128.


LINKS

Table of n, a(n) for n=0..79.


FORMULA

a(n) = A248128(mn) if A248128(m) = 0 and A248128(mk) > 0 for all 0 < k <= n.


CROSSREFS

Cf. A248128, A248129.
Sequence in context: A037924 A174680 A225948 * A256527 A040219 A317315
Adjacent sequences: A248126 A248127 A248128 * A248130 A248131 A248132


KEYWORD

nonn,base


AUTHOR

M. F. Hasler, Oct 02 2014


STATUS

approved



