login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A272797
Least k for which A065413(k) = n, or 0 if no such k exists.
1
13, 1, 27, 23, 891, 4795, 125201, 3253303
OFFSET
0,1
EXAMPLE
a(3) = 23 because the first occurrence of 3 in A065413 is A065413(23) = 3.
MAPLE
# given vector A of size N constructed as in A065413
M:= max(A):
B:= Array(0..M):
for i from 1 to N do
if B[A[i]] = 0 then B[A[i]]:= i fi
od:
convert(B, list); # Robert Israel, May 06 2016
CROSSREFS
Cf. A065413.
Sequence in context: A236231 A040181 A123187 * A046733 A357312 A291449
KEYWORD
nonn,more,base
AUTHOR
Robert Israel, May 06 2016
STATUS
approved