(Translated by https://www.hiragana.jp/)
The On-Line Encyclopedia of Integer Sequences® (OEIS®)
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!)

Revision History for A285717

(Underlined text is an addition; strikethrough text is a deletion.)

Showing entries 1-10 | older changes
A285717 a(n) = A007814(n) + A159918(n) = A007814(n) + A000120(n^2).
(history; published version)
#12 by N. J. A. Sloane at Sun Apr 30 07:55:57 EDT 2017
STATUS

proposed

approved

#11 by Antti Karttunen at Fri Apr 28 01:25:59 EDT 2017
STATUS

editing

proposed

Discussion
Fri Apr 28 14:51
Antti Karttunen: (The above musings were related to the formula a(n) = n*A201555(n) / 2^(A285717(n)) = A000265(n*A201555(n)) I gave for https://oeis.org/A285388).
#10 by Antti Karttunen at Fri Apr 28 00:56:33 EDT 2017
CROSSREFS

Cf. A000120, A007814, A159918, A201555, A285388, A285406.

STATUS

proposed

editing

#9 by Antti Karttunen at Thu Apr 27 13:44:36 EDT 2017
STATUS

editing

proposed

#8 by Antti Karttunen at Thu Apr 27 13:44:01 EDT 2017
NAME

a(n) = A007814(n) + A159918(n) = A007814(n) + A000120(n^2).

STATUS

proposed

editing

#7 by Indranil Ghosh at Thu Apr 27 12:07:45 EDT 2017
STATUS

editing

proposed

#6 by Indranil Ghosh at Thu Apr 27 12:07:14 EDT 2017
MATHEMATICA

Table[IntegerExponent[n, 2] + DigitCount[n^2, 2, 1], {n, 120}] (* Indranil Ghosh, Apr 27 2017 *)

#5 by Indranil Ghosh at Thu Apr 27 12:04:12 EDT 2017
PROG

(PARI) a(n) = valuation(n, 2) + hammingweight(n^2); \\ Indranil Ghosh, Apr 27 2017

(Python)

import math

def a(n): return int(math.log(n - (n & n - 1), 2)) + bin(n**2)[2:].count("1") # Indranil Ghosh, Apr 27 2017

STATUS

proposed

editing

#4 by Antti Karttunen at Thu Apr 27 08:31:16 EDT 2017
STATUS

editing

proposed

#3 by Antti Karttunen at Thu Apr 27 08:29:55 EDT 2017
LINKS

Antti Karttunen, <a href="/A285717/b285717.txt">Table of n, a(n) for n = 1..8192</a>

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 August 26 20:09 EDT 2024. Contains 375462 sequences. (Running on oeis4.)