cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A147805 Least m coprime to 11 minimizing A007947(m*(11^n-m)).

This page as a plain text file.
%I A147805 #7 Aug 12 2020 01:29:21
%S A147805 2,1,81,16,8748,91,1489347
%N A147805 Least m coprime to 11 minimizing A007947(m*(11^n-m)).
%C A147805 The values of the minima are given in A147798.
%o A147805 (PARI) /* If A147798(n) has already been computed and is stored in a147798[n]: */
%o A147805 A147805(n)={my(m=a147798[n]); for(a=1, n=11^n, a%11 || next; m>2*A007947(a) || next; m==A007947(a)*A007947(n-a) && return(a)) }
%o A147805 /* else use code from A147804 : A147805(n)=A147804(n,11) */
%Y A147805 Cf. A007947, A147298, A147798, A147799, A147800, A147801, A147802, A147803, A147804.
%K A147805 nonn,more
%O A147805 1,1
%A A147805 _M. F. Hasler_, Dec 06 2008