login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A077383 a(1) = 1, then add, multiply and subtract 2, 3, 4; 5, 6, 7; ... in that order. 1
1, 3, 9, 5, 10, 60, 53, 61, 549, 539, 550, 6600, 6587, 6601, 99015, 98999, 99016, 1782288, 1782269, 1782289, 37428069, 37428047, 37428070, 898273680, 898273655, 898273681, 24253389387, 24253389359, 24253389388, 727601681640, 727601681609 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

EXAMPLE

a(2) = a(1) + 2 = 3, a(3) = 3*3 = 9, a(4) = 9-4 = 5, a(5) = 5 + 5 = 10, etc.

MAPLE

a := proc(n) if n=1 then 1 elif n mod 3 = 2 then a(n-1)+n elif n mod 3 = 0 then n*a(n-1) elif n mod 3 = 1 then a(n-1)-n else fi end: (from Emeric Deutsch)

CROSSREFS

Cf. A077382, A077384.

Sequence in context: A197023 A096418 A100811 * A084492 A084496 A084530

Adjacent sequences:  A077380 A077381 A077382 * A077384 A077385 A077386

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Nov 06 2002

EXTENSIONS

More terms from Emeric Deutsch (deutsch(AT)duke.poly.edu), Dec 17 2003

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 02:48 EST 2012. Contains 205978 sequences.