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!)
A284267 Number of terms with coefficient 1 in the Stern polynomial B(2n+1,x): a(n) = A056169(A277324(n)) 5
1, 2, 1, 3, 2, 2, 1, 4, 3, 1, 1, 2, 2, 2, 1, 5, 4, 1, 2, 1, 1, 2, 1, 2, 2, 1, 1, 2, 2, 2, 1, 6, 5, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 2, 1, 2, 2, 1, 2, 1, 1, 2, 1, 2, 2, 1, 1, 2, 2, 2, 1, 7, 6, 1, 2, 2, 2, 1, 1, 2, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 2, 1, 1, 2, 2, 2, 1, 2, 2, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 2, 1, 2, 2, 1, 2, 1, 1, 2, 1, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Number of 1's on row 2n+1 of table A125184.
LINKS
FORMULA
a(n) = A284271((2*n)+1).
a(n) = A056169(A277324(n)).
Other identities. For all n >= 0:
A007306(1+n) = a(n) + A284268(n).
MATHEMATICA
A003961[p_?PrimeQ] := A003961[p] = Prime[ PrimePi[p] + 1]; A003961[1] = 1; A003961[n_]:= A003961[n] = Times @@ (A003961[First[#]] ^ Last[#] & ) /@ FactorInteger[n] (* after Jean-François Alcover, Dec 01 2011 *); A260443[n_]:= If[n<2, n + 1, If[EvenQ[n], A003961[A260443[n/2]], A260443[(n - 1)/2] * A260443[(n + 1)/2]]]; a[n_]:= If[n<2, 0, Count[Transpose[FactorInteger[n]][[2]], 1]]; A277324[n_]:=A260443[2n + 1]; Table[a[A277324[n]], {n, 0, 150}] (* Indranil Ghosh, Mar 28 2017 *)
PROG
(PARI) A284267(n) = A284271(n+n+1); \\ Other code as in A284271.
(Scheme)
(define (A284267 n) (A284271 (+ n n 1)))
(define (A284267 n) (A056169 (A277324 n)))
CROSSREFS
Odd bisection of A284271.
Sequence in context: A339399 A272911 A371014 * A296525 A333766 A333226
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 25 2017
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 23 01:19 EDT 2024. Contains 371906 sequences. (Running on oeis4.)