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.

A099668 a(n) is the largest prime before A002282(n) repdigits.

This page as a plain text file.
%I A099668 #22 Jun 29 2025 09:05:40
%S A099668 7,83,887,8887,88883,888887,8888861,88888883,888888887,8888888837,
%T A099668 88888888859,888888888887,8888888888857,88888888888873,
%U A099668 888888888888883,8888888888888753,88888888888888801,888888888888888859,8888888888888888881,88888888888888888879,888888888888888888857
%N A099668 a(n) is the largest prime before A002282(n) repdigits.
%F A099668 a(n) = A007917(A002282(n)). - _Amiram Eldar_, Jun 29 2025
%e A099668 n=2: 83 is before 88.
%t A099668 Table[NextPrime[8*(10^n-1)/9, -1], {n, 1, 35}]
%t A099668 Table[NextPrime[FromDigits[PadRight[{},n,8]],-1],{n,20}] (* _Harvey P. Dale_, Jul 12 2014 *)
%Y A099668 Cf. A002282, A003618, A003617, A007917, A096497, A096498, A068104, A002275-A002283, A099656-A099667.
%K A099668 base,nonn
%O A099668 1,1
%A A099668 _Labos Elemer_, Nov 17 2004