Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A127965
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A127965 Number of bits in A127962(n). +0
3
2, 4, 6, 10, 12, 16, 18, 22, 30, 42, 60, 78, 100, 126, 166, 190, 198, 312, 346, 700, 1708 (list; graph; listen)
OFFSET

1,1

COMMENT

Equals A127964(n) + A127963(n).

FORMULA

a(n) = 1+floor[ log_2(A000979(n)) ] = 1+ floor[log_2(2^A000978(n)+1) - A020857] = A000978(n)-1 . - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 01 2008

MATHEMATICA

b = {}; Do[c = 1 + Sum[2^(2n - 1), {n, 1, x}]; If[PrimeQ[c], AppendTo[b, c]], {x, 0, 1000}]; a = {}; Do[AppendTo[a, FromDigits[IntegerDigits[b[[x]], 2]]], {x, 1, Length[b]}]; d = {}; Do[AppendTo[d, DigitCount[a[[x]], 10, 0]+DigitCount[a[[x]], 10, 1]], {x, 1, Length[a]}]; d (*Artur Jasinski*)

CROSSREFS

Cf. A127962, A127963, A127964, A127961, A000979, A000978, A124400, A126614, A127955, A127956, A127957, A127958, A127936.

Sequence in context: A075728 A146886 A006093 this_sequence A117891 A072752 A036634

Adjacent sequences: A127962 A127963 A127964 this_sequence A127966 A127967 A127968

KEYWORD

nonn

AUTHOR

Artur Jasinski (grafix(AT)csl.pl), Feb 09 2007

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 17 23:40 EST 2009. Contains 171025 sequences.


AT&T Labs Research