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.

A274238 Numbers k such that (26*10^k - 119)/3 is prime.

This page as a plain text file.
%I A274238 #28 May 02 2024 04:26:55
%S A274238 1,2,3,4,6,22,25,29,59,89,221,453,535,1708,2242,2413,3581,4234,4848,
%T A274238 5380,6548,8654,11035,17308,27634,28807,35481,79678,80875,114658,
%U A274238 230394
%N A274238 Numbers k such that (26*10^k - 119)/3 is prime.
%C A274238 For k > 1, numbers k such that the digit 8 followed by k-2 occurrences of the digit 6 followed by the digits 27 is prime (see Example section).
%C A274238 a(32) > 3*10^5.
%H A274238 Makoto Kamada, <a href="https://stdkmd.net/nrr">Factorization of near-repdigit-related numbers</a>.
%H A274238 Makoto Kamada, <a href="https://stdkmd.net/nrr/prime/prime_difficulty.txt">Search for 86w27</a>.
%e A274238 3 is in this sequence because (26*10^3 - 119)/3 = 8627 is prime.
%e A274238 Initial terms and associated primes:
%e A274238 a(1) = 1, 47;
%e A274238 a(2) = 2, 827;
%e A274238 a(3) = 3, 8627;
%e A274238 a(4) = 4, 86627;
%e A274238 a(5) = 6, 8666627, etc.
%t A274238 Select[Range[0, 100000], PrimeQ[(26*10^# - 119)/3] &]
%o A274238 (Magma) [n: n in [1..500] |IsPrime((26*10^n-119) div 3)]; // _Vincenzo Librandi_, Jul 07 2016
%o A274238 (PARI) lista(nn) = for(n=1, nn, if(ispseudoprime((26*10^n-119)/3), print1(n, ", "))); \\ _Altug Alkan_, Jul 08 2016
%Y A274238 Cf. A056654, A268448, A269303, A270339, A270613, A270831, A270890, A270929, A271269.
%K A274238 nonn,more
%O A274238 1,2
%A A274238 _Robert Price_, Jul 06 2016
%E A274238 a(30)-a(31) from _Robert Price_, Jul 12 2023