login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A135502 Admirable numbers in the middle of twin primes. 1
12, 30, 42, 102, 138, 270, 282, 618, 642, 822, 1488, 1698, 1878, 2082, 2238, 2382, 2658, 2802, 3462, 3558, 3918, 4638, 4722, 5442, 6198, 6702, 8538, 8598, 9678, 10938, 12162, 12378, 12822, 12918, 13218, 13722, 13758, 13998, 14082, 16062, 17418 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Numbers n such that n is admirable, n-1 is prime and n+1 is prime.
LINKS
FORMULA
A014574 INTERSECT A111592. - R. J. Mathar, Feb 10 2008
EXAMPLE
30 is in the sequence, as 29=30-1 and 31=30+1 are a pair of twin primes.
MATHEMATICA
Select[Range[18000], MemberQ[Most[Divisors[#]], (DivisorSigma[1, #]-2#)/2]&&AllTrue[#+{1, -1}, PrimeQ]&] (* Harvey P. Dale, Sep 11 2023 *)
CROSSREFS
Sequence in context: A108278 A364975 A298077 * A256620 A125582 A031107
KEYWORD
easy,nonn
AUTHOR
Olaf Voß, Feb 09 2008
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 30 07:39 EDT 2024. Contains 374737 sequences. (Running on oeis4.)