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!)
A344322 a(n) is the number of forbidden values when computing A229037(n). 1

%I #10 May 16 2021 10:41:03

%S 0,0,1,1,1,1,2,3,4,3,4,4,3,2,3,3,4,4,4,5,5,6,6,7,8,7,9,9,8,9,9,9,8,9,

%T 9,8,8,8,8,7,8,6,8,9,7,8,9,7,9,8,9,9,8,9,10,10,11,10,11,11,11,11,11,

%U 11,13,15,14,14,13,15,17,16,17,15,16,17,16,16,17

%N a(n) is the number of forbidden values when computing A229037(n).

%C In other words, a(n) is the number of distinct positive terms of the form 2*A229037(n - k) - A229037(n - 2*k) with n > 2*k > 0.

%H Rémy Sigrist, <a href="/A344322/b344322.txt">Table of n, a(n) for n = 1..10000</a>

%H Rémy Sigrist, <a href="/A344322/a344322.gp.txt">PARI program for A344322</a>

%e For n=14, we have:

%e - 2*A229037(13) - A229037(12) = 2*1 - 2 = 0,

%e - 2*A229037(12) - A229037(10) = 2*2 - 1 = 3,

%e - 2*A229037(11) - A229037(8) = 2*1 - 4 = -2,

%e - 2*A229037(10) - A229037(6) = 2*1 - 2 = 0,

%e - 2*A229037(9) - A229037(4) = 2*4 - 1 = 7,

%e - 2*A229037(8) - A229037(2) = 2*4 - 1 = 7,

%e - so a(14) = #{3, 7} = 2.

%o (PARI) See Links section.

%Y Cf. A229037, A293866, A344264.

%K nonn

%O 1,7

%A _Rémy Sigrist_, May 15 2021

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 July 31 20:34 EDT 2024. Contains 374808 sequences. (Running on oeis4.)