login
A344449
Lexicographically earliest sequence S of distinct positive terms such that the n-th odd digit of S is present in a(n).
0
1, 3, 5, 7, 9, 10, 11, 12, 13, 14, 23, 15, 30, 16, 25, 31, 17, 35, 32, 18, 19, 27, 33, 45, 34, 21, 41, 29, 37, 36, 38, 50, 39, 51, 61, 49, 43, 47, 53, 63, 52, 73, 59, 54, 71, 81, 69, 83, 57, 55, 93, 103, 56, 67, 113, 58, 79, 65, 70, 91, 100, 89, 123, 75, 72, 85, 95, 90, 130, 101, 131, 105, 74, 102, 104, 132, 115
OFFSET
1,2
EXAMPLE
The 11th odd digit of S is 3 (from 13) and this 3 is present in the 11th term of S (which is 23).
MATHEMATICA
a[1]=1; a[n_]:=a[n]=Block[{k=1}, While[MemberQ[l=Array[a, n-1], k]||FreeQ[IntegerDigits@k, Quiet@Select[Flatten[IntegerDigits/@Join[l, {k}]], OddQ][[n]]], k++]; k]; Array[a, 77] (* Giorgos Kalogeropoulos, May 11 2022 *)
CROSSREFS
Cf. A247143.
Sequence in context: A047747 A007957 A194377 * A258432 A344000 A128938
KEYWORD
base,nonn
AUTHOR
Eric Angelini and Carole Dubois, May 19 2021
STATUS
approved