OFFSET
0,1
COMMENTS
Is there any n for which a(n) = -1?
LINKS
Amiram Eldar, Table of n, a(n) for n = 0..300
FORMULA
A361967(a(n)) = n.
MATHEMATICA
solnum[n_] := Length[invUPhi[n]]; seq[len_, kmax_] := Module[{s = Table[-1, {len}], c = 0, k = 1, ind}, While[k < kmax && c < len, ind = solnum[k] + 1; If[ind <= len && s[[ind]] < 0, c++; s[[ind]] = k]; k++]; s]; seq[50, 10^5] (* using the function invUPhi from A361966 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Apr 01 2023
STATUS
approved