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.

A175727 Numbers k such that both A000203(k)-k-1 and A000203(k)-2*k-1 are prime numbers.

This page as a plain text file.
%I A175727 #17 Mar 21 2023 08:24:54
%S A175727 30,42,60,70,78,102,138,186,198,216,222,228,240,246,258,270,282,360,
%T A175727 372,390,414,438,492,498,546,582,600,606,642,708,720,756,762,774,786,
%U A175727 810,852,870,930,942,954,1002,1014,1020,1026,1038,1068,1086,1182,1266,1290
%N A175727 Numbers k such that both A000203(k)-k-1 and A000203(k)-2*k-1 are prime numbers.
%C A175727 A simpler version of A179945, added at the request of the editor-in-chief.
%p A175727 q:= n-> (t-> andmap(isprime, [t-n-1, t-2*n-1]))(numtheory[sigma](n)):
%p A175727 select(q, [$1..1500])[];  # _Alois P. Heinz_, Mar 21 2023
%o A175727 (PARI) is(n)=my(s=sigma(n)); isprime(s-n-1) && isprime(s-n-n-1) \\ _Charles R Greathouse IV_, Feb 19 2013
%Y A175727 Subsequence of A179945.
%Y A175727 Cf. A000203.
%K A175727 nonn
%O A175727 1,1
%A A175727 _Max Alekseyev_, Aug 18 2010
%E A175727 Edited by _N. J. A. Sloane_, Aug 28 2010