Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A035214
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A035214 2 followed by a run of n 1's. +0
5
2, 2, 1, 2, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1 (list; graph; listen)
OFFSET

0,1

FORMULA

a(n) = 2 if n is a triangular number, otherwise 1.

a(n) = floor((3-cos(Pi*sqrt(8*n+1)))/2) - Carl R. White (oeisfan(AT)cyreksoft.yorks.com), Mar 18 2006

CROSSREFS

Cf. A035253, A035254.

A010054(n) + 1.

Sequence in context: A029441 A109495 A164295 this_sequence A071292 A088569 A001285

Adjacent sequences: A035211 A035212 A035213 this_sequence A035215 A035216 A035217

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

EXTENSIONS

Typo corrected by Neven Juric, Jan 10 2009

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 7 08:40 EST 2009. Contains 170430 sequences.


AT&T Labs Research