Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A117898
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A117898 Number triangle 2^abs(L(C(n,2)/3)-L(C(k,2)/3))*[k<=n] where L(j/p) is the Legendre symbol of j and p. +0
5
1, 1, 1, 2, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 2, 1, 2, 2, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1 (list; table; graph; listen)
OFFSET

0,4

COMMENT

Row sums are A117899. Diagonal sums are A117900. Inverse is A117901. A117898 mod 2 is A117904.

FORMULA

G.f.: (1+x(1+y)+x^2(2+2y+y^2)+x^3*y(1+2y)+2x^4*y^2)/((1-x^3)(1-x^3*y^3)); Number triangle [k<=n]*2^abs(L(C(n,2)/3)-L(C(k,2)/3))

EXAMPLE

Triangle begins

1,

1, 1,

2, 2, 1,

1, 1, 2, 1,

1, 1, 2, 1, 1,

2, 2, 1, 2, 2, 1,

1, 1, 2, 1, 1, 2, 1,

1, 1, 2, 1, 1, 2, 1, 1,

2, 2, 1, 2, 2, 1, 2, 2, 1,

1, 1, 2, 1, 1, 2, 1, 1, 2, 1,

1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1,

2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1,

1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1

CROSSREFS

Sequence in context: A078082 A079674 A113193 this_sequence A072344 A140500 A030616

Adjacent sequences: A117895 A117896 A117897 this_sequence A117899 A117900 A117901

KEYWORD

easy,nonn,tabl

AUTHOR

Paul Barry (pbarry(AT)wit.ie), Apr 01 2006

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 18 20:14 EST 2008. Contains 147244 sequences.


AT&T Labs Research