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!)
A174797 Numbers n such that both semiprime(n) and semiprime(n+1) are even. 2
1, 4, 21, 87, 120, 141, 142, 168, 188, 320, 363, 387, 434, 464, 496, 539, 593, 675, 721, 794, 810, 995, 1032, 1105, 1147, 1166, 1228, 1356, 1391, 1477, 1478, 1498, 1702, 1771, 1790, 1797, 1803, 1818, 1849, 1850, 1881, 1967, 2016, 2039, 2052, 2065, 2091 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Semiprime(n)/2 and semiprime(n+1)/2 are consecutive primes.
LINKS
FORMULA
A001358(a(n)) = 2*A000040(A174798(n)).
EXAMPLE
a(1)=1 because both semiprime(1)=4 and semiprime(2)=6 are even
a(2)=4 because both semiprime(4)=10 and semiprime(5)=14 are even.
MATHEMATICA
Flatten[Position[Partition[Select[Range[10000], PrimeOmega[#]==2&], 2, 1], _?(EvenQ[First[#]]&&EvenQ[Last[#]]&), {1}, Heads->False]] (* Harvey P. Dale, Apr 19 2014 *)
CROSSREFS
Sequence in context: A348621 A277794 A292126 * A328345 A371309 A220574
KEYWORD
nonn
AUTHOR
EXTENSIONS
Edited and corrected by Ray Chandler, Apr 07 2010
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 April 23 02:10 EDT 2024. Contains 371906 sequences. (Running on oeis4.)