Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A064865
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A064865 Fill a triangular array by rows by writing numbers 1, then 1 up to 2^2, then 1 up to 3^2, then 1 up to 4^2 and so on. The final elements of the rows form the sequence. +0
17
1, 2, 1, 5, 1, 7, 14, 6, 15, 25, 11, 23, 36, 14, 29, 45, 13, 31, 50, 6, 27, 49, 72, 15, 40, 66, 93, 21, 50, 80, 111, 22, 55, 89, 124, 16, 53, 91, 130, 1, 42, 84, 127, 171, 20, 66, 113, 161, 210, 35, 86, 138, 191, 245, 44, 100, 157, 215, 274, 45, 106, 168, 231, 295, 36 (list; graph; listen)
OFFSET

1,2

COMMENT

Does every number appear at least once? Do some numbers like 1 appear infinitely often? - Robert G. Wilson v (rgwv(AT)rgwv.com), Oct 10 2001

Difference between n-th triangular number and largest square pyramidal number (A000330) less than it. - Franklin T. Adams-Watters (FrankTAW(AT)Netscape.net), Sep 11 2006

FORMULA

a(n) = n(n+1)/2 - max_{p(m) < n(n+1)/2} p(m), where p(m) = m(m+1)(2m+1)/6. - Franklin T. Adams-Watters (FrankTAW(AT)Netscape.net), Sep 11 2006

EXAMPLE

The triangle begins:

....1

...1.2

..3.4.1

.2.3.4.5

6.7.8.9.1

MATHEMATICA

a = {}; Do[a = Append[a, Table[i, {i, 1, n^2} ]], {n, 1, 100} ]; a = Flatten[a]; Do[Print[a[[n(n + 1)/2]]], {n, 1, 100} ]

CROSSREFS

Table: A064866.

Cf. A000217, A000330.

Sequence in context: A014648 A036073 A124227 this_sequence A093127 A115123 A132081

Adjacent sequences: A064862 A064863 A064864 this_sequence A064866 A064867 A064868

KEYWORD

easy,nonn

AUTHOR

Floor van Lamoen (fvlamoen(AT)hotmail.com), Oct 08 2001

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Oct 10 2001

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 08:46 EST 2009. Contains 167481 sequences.


AT&T Labs Research