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!)
A175029 a(n)=2*n if n is prime, otherwise a(n)=3*n. 1
3, 4, 6, 12, 10, 18, 14, 24, 27, 30, 22, 36, 26, 42, 45, 48, 34, 54, 38, 60, 63, 66, 46, 72, 75, 78, 81, 84, 58, 90, 62, 96, 99, 102, 105, 108, 74, 114, 117, 120, 82, 126, 86, 132, 135, 138, 94, 144, 147, 150, 153, 156, 106, 162, 165, 168, 171, 174, 118, 180, 122, 186 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Table[If[PrimeQ[n], 2*n, 3*n], {n, 1, 200}]
CROSSREFS
Sequence in context: A366439 A062822 A175894 * A113728 A000114 A310006
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 June 20 20:42 EDT 2024. Contains 373532 sequences. (Running on oeis4.)