Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A061800
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A061800 a(n) =n + (-1)^(n mod 3). +0
2
1, 0, 3, 4, 3, 6, 7, 6, 9, 10, 9, 12, 13, 12, 15, 16, 15, 18, 19, 18, 21, 22, 21, 24, 25, 24, 27, 28, 27, 30, 31, 30, 33, 34, 33, 36, 37, 36, 39, 40, 39, 42, 43, 42, 45, 46, 45, 48, 49, 48, 51, 52, 51, 54, 55, 54, 57, 58, 57, 60, 61, 60, 63, 64, 63, 66, 67, 66, 69, 70, 69, 72 (list; graph; listen)
OFFSET

0,3

LINKS

Harry J. Smith, Table of n, a(n) for n=0,...,1000

FORMULA

O.g.f.: (1-x+3*x^2)/[(-1+x)^2*(1+x+x^2)]. - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 02 2008

EXAMPLE

a(4) = 4 + (-1)^1 = 3

PROGRAM

(PARI) { for (n=0, 1000, write("b061800.txt", n, " ", n + (-1)^(n%3)) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jul 28 2009]

CROSSREFS

Cf. A004442, A014681.

Sequence in context: A074372 A049276 A101684 this_sequence A048250 A073181 A046897

Adjacent sequences: A061797 A061798 A061799 this_sequence A061801 A061802 A061803

KEYWORD

easy,nonn

AUTHOR

Olivier Gerard (olivier.gerard(AT)gmail.com), Jun 22 2001

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research