[go: up one dir, main page]

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 A000031 (Underlined text is an addition; strikethrough text is a deletion.)

Showing entries 1-10 | older changes
A000031 Number of n-bead necklaces with 2 colors when turning over is not allowed; also number of output sequences from a simple n-stage cycling shift register; also number of binary irreducible polynomials whose degree divides n.
(history; published version)
#213 by R. J. Mathar at Sun Jan 28 08:03:05 EST 2024
STATUS

editing

approved

#212 by R. J. Mathar at Sun Jan 28 08:02:43 EST 2024
FORMULA

a(n) = (1/n)*Sum_{ d divides n } phi(d)*2^(n/d), ) = A053635(n)/n, where phi is A000010.

STATUS

approved

editing

#211 by Joerg Arndt at Thu Nov 17 05:11:17 EST 2022
STATUS

reviewed

approved

#210 by Michel Marcus at Thu Nov 17 01:25:57 EST 2022
STATUS

proposed

reviewed

#209 by Jon E. Schoenfield at Wed Nov 16 22:53:53 EST 2022
STATUS

editing

proposed

#208 by Jon E. Schoenfield at Wed Nov 16 22:53:50 EST 2022
EXAMPLE

The analogous shift register sequences are {000..., 001001..., 011011..., 111...} and {000..., 00010001..., 00110011..., 0101..., 01110111..., 111... }....}.

STATUS

proposed

editing

#207 by Chai Wah Wu at Wed Nov 16 19:59:18 EST 2022
STATUS

editing

proposed

#206 by Chai Wah Wu at Wed Nov 16 19:59:04 EST 2022
PROG

(Python)

from sympy import totient, divisors

def A000031(n): return sum(totient(d)*(1<<n//d) for d in divisors(n, generator=True))//n if n else 1 # Chai Wah Wu, Nov 16 2022

STATUS

approved

editing

#205 by Michael De Vlieger at Sat Apr 30 10:36:52 EDT 2022
STATUS

proposed

approved

#204 by Jon E. Schoenfield at Sat Apr 30 10:36:05 EDT 2022
STATUS

editing

proposed

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 28 09:32 EDT 2024. Contains 375477 sequences. (Running on oeis4.)