login
A305235
Smallest positive number k such that there are exactly n successive equal values of A001221 starting at k, i.e., such that A305234(k) = n.
1
1, 4, 3, 2, 54, 91, 142, 141, 44360, 48919, 218972, 526097, 526096, 526095, 17233173, 127890362
OFFSET
0,2
EXAMPLE
For n = 5: A001221(91+k) = 2 for k = 0..5 and 91 is the smallest number x with exactly 5 successors that have the same value of A001221 as x, so a(5) = 91.
PROG
(PARI) a305234(n) = my(k=n+1, i=0); while(omega(k)==omega(n), i++; k++); i
a(n) = my(k=1); while(1, if(a305234(k)==n, return(k)); k++)
KEYWORD
nonn,more
AUTHOR
Felix Fröhlich, May 28 2018
STATUS
approved