OFFSET
1,2
COMMENTS
This sequence is inspired by Ulam sequence (A002858).
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, PARI program for A336527
EXAMPLE
The first terms, alongside the binary representations of the natural numbers with the corresponding concatenations of distinct smaller terms, are:
n a(n) k bin(k) concatenations
- ---- -- ------ --------------
1 1 1 1
2 2 2 10
3 11
4 100
3 5 5 101 10|1
4 6 6 110 1|10
7 111
8 1000
9 1001
10 1010
5 11 11 1011 101|1
12 1100
13 1101 1|101, 110|1
6 14 14 1110 1|110
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Jul 24 2020
STATUS
approved