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!)
A176629 a(n) = n-th semiprime - (-1)^(n-th semiprime). 0
3, 5, 10, 9, 13, 16, 22, 21, 26, 25, 34, 33, 36, 37, 40, 45, 50, 52, 56, 58, 57, 61, 66, 70, 73, 78, 81, 86, 85, 88, 92, 94, 93, 96, 105, 112, 116, 117, 120, 122, 121, 124, 130, 134, 133, 142, 141, 144, 146, 145, 156, 157, 160, 162, 165, 170, 178, 177, 184, 186, 188 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A001358(n) - (-1)^A001358(n).
EXAMPLE
a(1)=3 because (1st semiprime) - (-1)^(1st semiprime) = 4 - 1 = 3.
MATHEMATICA
#-(-1)^#&/@Select[Range[200], PrimeOmega[#]==2&] (* Harvey P. Dale, Nov 08 2012 *)
CROSSREFS
Sequence in context: A332359 A328070 A286592 * A069193 A078430 A345892
KEYWORD
nonn
AUTHOR
EXTENSIONS
Entries checked by R. J. Mathar, Apr 27 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 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)