login
This site is supported by donations 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

Table of n, a(n) for n=1..65.

MATHEMATICA

Table[If[PrimeQ[n], 3*n, 2*n], {n, 1, 200}]

CROSSREFS

Cf. A068519, A167480, A167482, A175027, A175028, A175029.

Sequence in context: A011046 A246828 A136701 * A263178 A198230 A263495

Adjacent sequences:  A175027 A175028 A175029 * A175031 A175032 A175033

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 26 00:10 EDT 2019. Contains 324367 sequences. (Running on oeis4.)