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.

A056696 Numbers k such that 90*R_k + 1 is prime, where R_k = 11...1 is the repunit (A002275) of length k.

This page as a plain text file.
%I A056696 #29 Jul 04 2021 22:10:34
%S A056696 2,4,6,32,44,104,196,198,280,300,316,1106,1656,3394,35924,37596,64304,
%T A056696 80138,221630
%N A056696 Numbers k such that 90*R_k + 1 is prime, where R_k = 11...1 is the repunit (A002275) of length k.
%C A056696 Also numbers k such that 10^(k+1) - 9 is a prime.
%H A056696 Makoto Kamada, <a href="https://stdkmd.net/nrr/9/99991.htm#prime">Prime numbers of the form 99...991</a>.
%H A056696 <a href="/index/Pri#Pri_rep">Index entries for primes involving repunits</a>
%F A056696 a(n) = A095714(n) - 1.
%t A056696 Do[ If[ PrimeQ[90*(10^n - 1)/9 + 1], Print[n]], {n, 0, 7000}]
%Y A056696 Cf. A002275, A093177, A095714.
%K A056696 nonn
%O A056696 1,1
%A A056696 _Robert G. Wilson v_, Aug 10 2000
%E A056696 a(15) - a(16) from _Jason Earls_, Jan 07 2008
%E A056696 a(17) - a(19) from _Alexander Gramolin_, May 13 2011
%E A056696 Edited by _Ray Chandler_, Feb 26 2012