The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A175030 a(n)=3*n if n is prime, otherwise a(n)=2*n. 0
2, 6, 9, 8, 15, 12, 21, 16, 18, 20, 33, 24, 39, 28, 30, 32, 51, 36, 57, 40, 42, 44, 69, 48, 50, 52, 54, 56, 87, 60, 93, 64, 66, 68, 70, 72, 111, 76, 78, 80, 123, 84, 129, 88, 90, 92, 141, 96, 98, 100, 102, 104, 159, 108, 110, 112, 114, 116, 177, 120, 183, 124, 126, 128, 130 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Table[If[PrimeQ[n], 3*n, 2*n], {n, 1, 200}]
CROSSREFS
Sequence in context: A011046 A246828 A136701 * A335027 A263178 A198230
KEYWORD
nonn
AUTHOR
Zak Seidov, Nov 04 2009
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 May 20 19:00 EDT 2024. Contains 372720 sequences. (Running on oeis4.)