Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A066043
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A066043 a(1) = 1; for m > 0, a(2m) = 2m, a(2m+1) = 4m+2. +0
2
1, 2, 6, 4, 10, 6, 14, 8, 18, 10, 22, 12, 26, 14, 30, 16, 34, 18, 38, 20, 42, 22, 46, 24, 50, 26, 54, 28, 58, 30, 62, 32, 66, 34, 70, 36, 74, 38, 78, 40, 82, 42, 86, 44, 90, 46, 94, 48, 98, 50, 102, 52, 106, 54, 110, 56, 114, 58, 118, 60, 122, 62, 126, 64, 130, 66, 134, 68 (list; graph; listen)
OFFSET

1,2

COMMENT

Length of period of sequences r(k,n)=floor(sinh(1)*k!)-n*floor(sinh(1)*k!/n) when n is fixed. - Benoit Cloitre (benoit7848c(AT)orange.fr), Jun 22 2003

LINKS

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

FORMULA

O.g.f.: (x+2x^2+4x^3-x^5)/(1-x^2)^2. - Len Smiley (smiley(AT)math.uaa.alaska.edu), Dec 05 2001

a(n)a(n+3) = -4 + a(n+1)a(n+2).

a(n)=A109043(n), n>1. a(n)=2*A026741(n), n>1. [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Nov 08 2009]

EXAMPLE

r(k,7) is sequence 1, 2, 0, 0, 1, 6, 1, 1, 3, 2, 2, 3, 5, 0, 1, 2, 0, 0, 1, 6, 1, 1, 3, 2, 2, 3, 5, 0.... which is periodic with period (1, 2, 0, 0, 1, 6, 1, 1, 3, 2, 2, 3, 5, 0) of length 14 = a(7).

PROGRAM

(PARI) a(n)=if(n<2, 1, if(n%2, 2*n, n))

(PARI) { for (n=1, 1000, a=if (n>1 && n%2, 2*n, n); write("b066043.txt", n, " ", a) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Nov 08 2009]

CROSSREFS

Sequence in context: A088438 A097265 A074208 this_sequence A145019 A066678 A113571

Adjacent sequences: A066040 A066041 A066042 this_sequence A066044 A066045 A066046

KEYWORD

easy,nonn,new

AUTHOR

George E. Antoniou (george.antoniou(AT)montclair.edu), Nov 30 2001

EXTENSIONS

More terms from Sascha Kurz (sascha.kurz(AT)uni-bayreuth.de), Mar 24 2002

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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research