Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A037488
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A037488 Base 3 digits are, in order, the first n terms of the periodic sequence with initial period 2,1. +0
1
2, 7, 23, 70, 212, 637, 1913, 5740, 17222, 51667, 155003, 465010, 1395032, 4185097, 12555293, 37665880, 112997642, 338992927, 1016978783, 3050936350, 9152809052, 27458427157, 82375281473, 247125844420, 741377533262 (list; graph; listen)
OFFSET

1,1

FORMULA

G.f.: x*(2+x)/((1-x^2)*(1-3*x)). - Michael Somos, Sep 28, 2002

PROGRAM

(PARI) a(n)=if(n<1, 0, 3*a(n-1)+1+n%2)

a(n)=if(n<1, 0, 3^n*7\8)

CROSSREFS

Sequence in context: A034546 A010748 A048496 this_sequence A129669 A037568 A076656

Adjacent sequences: A037485 A037486 A037487 this_sequence A037489 A037490 A037491

KEYWORD

nonn

AUTHOR

Clark Kimberling (ck6(AT)evansville.edu)

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