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!)
A342712 Partial sums of A248333. 1
0, 0, 0, 1, 2, 4, 6, 9, 13, 17, 22, 28, 34, 41, 49, 58, 67, 77, 88, 100, 112, 125, 139, 154, 170, 186, 203, 221, 240, 260, 280, 301, 323, 346, 370, 395, 420, 446, 473, 501, 530, 560, 590, 621, 653, 686, 720, 755, 791, 827, 864, 902, 941, 981, 1022, 1064, 1106 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
FORMULA
a(n) = A000217(n) - A342711(n-1) for n >= 1. [Corrected by Georg Fischer, Dec 13 2022]
PROG
(PARI) f(n) = sum(i=1, n, !(issquare(i-1) || issquare(floor(i-sqrt(i-1))))); \\ A248333
a(n) = sum(k=0, n, f(k)); \\ Michel Marcus, Mar 20 2021
CROSSREFS
Sequence in context: A087483 A154255 A232739 * A006697 A294860 A183920
KEYWORD
nonn
AUTHOR
Slav E. Angelov, Mar 20 2021
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 April 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)