Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A124093
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A124093 Triangular numbers alternating with squares. +0
2
0, 0, 1, 1, 3, 4, 6, 9, 10, 16, 15, 25, 21, 36, 28, 49, 36, 64, 45, 81, 55, 100, 66, 121, 78, 144, 91, 169, 105, 196, 120, 225, 136, 256, 153, 289, 171, 324, 190, 361, 210, 400, 231, 441, 253, 484, 276, 529, 300, 576, 325, 625, 351, 676, 378, 729, 406, 784, 435, 841 (list; graph; listen)
OFFSET

0,5

FORMULA

a(n)=n(n+2)/8 if n is even; a(n)=(n-1)^2/4 if n is odd (n>=0). - Emeric Deutsch (deutsch(AT)duke.poly.edu), Nov 29 2006

MAPLE

a:=proc(n) if n mod 2 = 0 then n*(n+2)/8 else (n-1)^2/4 fi end: seq(a(n), n=0..70); - Emeric Deutsch (deutsch(AT)duke.poly.edu), Nov 29 2006

MATHEMATICA

tr=Table[{k(k+1)/2, k^2}, {k, 0, 100}]//Flatten (Seidov)

CROSSREFS

Cf. A123596.

Sequence in context: A034706 A054686 A005214 this_sequence A025061 A037969 A047415

Adjacent sequences: A124090 A124091 A124092 this_sequence A124094 A124095 A124096

KEYWORD

nonn

AUTHOR

njas, based on a suggestion from Robert G. Wilson v, Nov 27 2006

EXTENSIONS

More terms from Zak Seidov, Nov 28 2006

More terms from Emeric Deutsch (deutsch(AT)duke.poly.edu), Nov 29 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 July 23 17:35 EDT 2008. Contains 142285 sequences.


AT&T Labs Research