login
Indices m of "late birds", i.e., values a(m) < a(k) for all k > m, in A075771 = quotient + remainder in Euclidean division of n^2 by prime(n).
4

%I #16 Jan 26 2024 04:43:35

%S 1,2,4,5,21,27,44,104,173,365,369,500,590,735,840,987,1564,1797,2415,

%T 3368,3545,4025,4466,5018,5477,6686,7239,8025,8182,9369

%N Indices m of "late birds", i.e., values a(m) < a(k) for all k > m, in A075771 = quotient + remainder in Euclidean division of n^2 by prime(n).

%C See A277852 (= A075771 o A277853) for the corresponding values of the "late birds".

%o (PARI) A277853(N,L=N^2/prime(N),A=A075771,S=List())={forstep(n=N,1,-1,A(n)<L&&listput(S,n)&&L=A(n));Set(S)}

%Y Cf. A075771, A277851, A277852, A277854.

%K nonn,more

%O 1,2

%A _M. F. Hasler_, Nov 25 2016