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

 

Logo

Annual Appeal: Today, Nov 11 2014, is the 4th anniversary of the launch of the new OEIS web site. 70,000 sequences have been added in these four years, all edited by volunteers. Please make a donation (tax deductible in the US) to help keep the OEIS running.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A123932 a(0)=1, a(n)=4 for n>0. 4
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

Continued fraction for sqrt(5)-1.

4^n mod 12. [From Zerinvary Lajos, Nov 25 2009]

LINKS

Table of n, a(n) for n=0..104.

FORMULA

a(n)=4-3*0^n . G.f.: (1+3x)/(1-x).

PROG

(PARI) a(n)=(n>=0)+3*(n>0) [From Jaume Oliver Lafont, Mar 26 2009]

(Sage) [power_mod(4, n, 12)for n in xrange(0, 84)] # [From Zerinvary Lajos, Nov 25 2009]

CROSSREFS

Sequence in context: A088848 A088849 A251539 * A010709 A138908 A032564

Adjacent sequences:  A123929 A123930 A123931 * A123933 A123934 A123935

KEYWORD

cofr,nonn

AUTHOR

Philippe Deléham, Nov 28 2006

STATUS

approved

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

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

Last modified December 22 09:10 EST 2014. Contains 252331 sequences.