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.

A135502 Admirable numbers in the middle of twin primes.

This page as a plain text file.
%I A135502 #8 Sep 11 2023 12:13:00
%S A135502 12,30,42,102,138,270,282,618,642,822,1488,1698,1878,2082,2238,2382,
%T A135502 2658,2802,3462,3558,3918,4638,4722,5442,6198,6702,8538,8598,9678,
%U A135502 10938,12162,12378,12822,12918,13218,13722,13758,13998,14082,16062,17418
%N A135502 Admirable numbers in the middle of twin primes.
%C A135502 Numbers n such that n is admirable, n-1 is prime and n+1 is prime.
%H A135502 Amiram Eldar, <a href="/A135502/b135502.txt">Table of n, a(n) for n = 1..10000</a>
%F A135502 A014574 INTERSECT A111592. - _R. J. Mathar_, Feb 10 2008
%e A135502 30 is in the sequence, as 29=30-1 and 31=30+1 are a pair of twin primes.
%t A135502 Select[Range[18000],MemberQ[Most[Divisors[#]],(DivisorSigma[1,#]-2#)/2]&&AllTrue[#+{1,-1},PrimeQ]&] (* _Harvey P. Dale_, Sep 11 2023 *)
%Y A135502 Cf. A111592, A001359, A006512.
%K A135502 easy,nonn
%O A135502 1,1
%A A135502 _Olaf Voß_, Feb 09 2008