login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A341308 Row sums of triangle A249223. 1
1, 1, 1, 2, 1, 4, 1, 3, 2, 3, 1, 6, 1, 3, 5, 5, 1, 6, 1, 6, 4, 3, 1, 10, 3, 3, 4, 8, 1, 11, 1, 7, 4, 3, 5, 13, 1, 3, 4, 12, 1, 11, 1, 7, 10, 3, 1, 16, 4, 8, 4, 7, 1, 11, 6, 14, 4, 3, 1, 21, 1, 3, 10, 10, 6, 13, 1, 7, 4, 15, 1, 23, 1, 3, 9, 7, 7, 12, 1, 20, 8, 3, 1, 23, 6, 3, 4, 14, 1, 24, 9, 7 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,4

LINKS

Rémy Sigrist, Table of n, a(n) for n = 1..10000

PROG

(PARI) a(n) = { my (v=0, s=0); for (h=2, oo, if (n<=0, return (v), v+=s+=(-1)^h * ((n-1)%(h-1)==0); n-=h)) } \\ Rémy Sigrist, Feb 14 2021

CROSSREFS

Cf. A237048, A249223, A262045.

Sequence in context: A101261 A214057 A067614 * A113901 A062799 A063647

Adjacent sequences:  A341305 A341306 A341307 * A341309 A341310 A341311

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Feb 14 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 17 12:55 EDT 2021. Contains 343971 sequences. (Running on oeis4.)