|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
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
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|