login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A339576 Row sums of triangle A236104. 1
1, 4, 10, 17, 29, 41, 59, 74, 101, 121, 151, 179, 215, 245, 295, 326, 374, 423, 477, 519, 591, 641, 707, 767, 844, 904, 1000, 1056, 1140, 1234, 1324, 1387, 1507, 1587, 1701, 1794, 1902, 1992, 2136, 2226, 2346, 2476, 2602, 2692, 2874, 2984, 3122, 3246, 3397 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

In other words, a(n) is the sum of squares of terms in row n of A235791.

LINKS

Table of n, a(n) for n=1..49.

MAPLE

a:= n-> add(ceil((n+1)/k-(k+1)/2)^2, k=1..floor((sqrt(8*n+1)-1)/2)):

seq(a(n), n=1..60);  # Alois P. Heinz, Dec 18 2020

PROG

(PARI) a(n) = sum(k=1, floor((sqrt(8*n+1)-1)/2), ceil((n+1)/k-(k+1)/2)^2) \\ Felix Fröhlich, Dec 19 2020; adapted from Maple code

CROSSREFS

Cf. A024916, A060831, A235791, A236104, A237593, A240542.

Sequence in context: A301195 A008022 A213497 * A047699 A167209 A096077

Adjacent sequences:  A339573 A339574 A339575 * A339577 A339578 A339579

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Dec 18 2020

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 7 23:50 EDT 2022. Contains 355995 sequences. (Running on oeis4.)