Sequence Concatenation

From GM-RKB
Jump to navigation Jump to search

A Sequence Concatenation is an Associative Operation that joins two or more sequences.



References

2021a

2021b

The concatenation of two or more numbers is the number formed by concatenating their numerals. For example, the concatenation of $1,234$, and $5678$ is $12345678$. The value of the result depends on the numeric base, which is typically understood from context.
The formula for the concatenation of numbers $p$ and $q$ in base $b$ is

$p\parallel q=pb^{l(q)}+q$,

where

$l(q)=\left\lfloor\log _{b} q\right\rfloor+1$

is the number length of $q$ in $base$ $b$ and $\lfloor x\rfloor$ is the floor function.