login

Revision History for A175029

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
a(n)=2*n if n is prime, otherwise a(n)=3*n.
(history; published version)
#2 by Russ Cox at Fri Mar 30 17:26:31 EDT 2012
AUTHOR

_Zak Seidov (zakseidov(AT)yahoo.com), _, Nov 04 2009

Discussion
Fri Mar 30
17:26
OEIS Server: https://oeis.org/edit/global/139
#1 by N. J. A. Sloane at Tue Jun 01 03:00:00 EDT 2010
NAME

a(n)=2*n if n is prime, otherwise a(n)=3*n.

DATA

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

OFFSET

1,1

MATHEMATICA

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

CROSSREFS
KEYWORD

nonn

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), Nov 04 2009

STATUS

approved