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!)
A335060 a(n) is the number of values of k < n for which 4*(a(k) + a(n-k)) < n. 3
0, 1, 0, 2, 2, 1, 2, 0, 4, 4, 2, 5, 6, 4, 2, 3, 10, 8, 6, 2, 6, 9, 6, 4, 8, 8, 8, 4, 12, 9, 10, 7, 10, 14, 10, 6, 8, 14, 14, 11, 12, 8, 16, 10, 14, 10, 16, 15, 14, 14, 16, 14, 12, 10, 16, 11, 18, 16, 14, 22, 20, 12, 12, 17, 24, 18, 22, 18, 22, 16, 10, 19, 26, 23, 18, 22, 24 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,4

LINKS

Samuel B. Reid, Table of n, a(n) for n = 1..10000

Samuel B. Reid, C program for A335060

Samuel B. Reid, Plot of 2000000 terms

EXAMPLE

a(6) is 1 because, if (a(k) + a(6-k)) * 4 is less than 6, k can only be 3.

a(9) is 4 because k must be 1, 3, 6, or 8 in order for (a(k) + a(9-k)) * 4 to be less than 9.

PROG

(C) See Links section.

(PARI) lista(nn) = {my(va=vector(nn)); for (n=2, nn, va[n] = sum(k=1, n-1, 4*(va[k] + va[n-k]) < n); ); va; } \\ Michel Marcus, May 22 2020

CROSSREFS

Cf. A007306, A272727, A317443.

Sequence in context: A321373 A305615 A038540 * A333058 A084348 A210580

Adjacent sequences:  A335057 A335058 A335059 * A335061 A335062 A335063

KEYWORD

nonn,look

AUTHOR

Samuel B. Reid, May 21 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 4 15:53 EDT 2021. Contains 346447 sequences. (Running on oeis4.)