login
A338255
a(n) = smallest m such that A328330(m) = n, or -1 if n never appears in A328330.
2
4, 2, 1, 8, 10, 22, 1088
OFFSET
1,1
COMMENTS
a(8) = 2008...888 (156 digits).
EXAMPLE
4 is represented with 4 segments, so a(1) = 4.
2 is represented by 5 segments, 5 is represented by 5 segments so a(2) = 2.
1 is represented by 2 segments, 2 is by 5, 5 by 5 again, so a(3) = 1.
[...]
1088 is the solution for 7 steps.
2008..888 (156 digits) is the solution for 8 steps.
CROSSREFS
Cf. A006942.
Location of first occurrence of n in A328330.
Sequence in context: A135294 A175938 A117016 * A013659 A016505 A304254
KEYWORD
base,nonn
AUTHOR
Jens Placke, Oct 18 2020
STATUS
approved