cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-3 of 3 results.

A322993 a(1) = 0; for n > 1, a(n) = A000265(A156552(n)).

Original entry on oeis.org

0, 1, 1, 3, 1, 5, 1, 7, 3, 9, 1, 11, 1, 17, 5, 15, 1, 13, 1, 19, 9, 33, 1, 23, 3, 65, 7, 35, 1, 21, 1, 31, 17, 129, 5, 27, 1, 257, 33, 39, 1, 37, 1, 67, 11, 513, 1, 47, 3, 25, 65, 131, 1, 29, 9, 71, 129, 1025, 1, 43, 1, 2049, 19, 63, 17, 69, 1, 259, 257, 41, 1, 55, 1, 4097, 13, 515, 5, 133, 1, 79, 15, 8193, 1, 75, 33, 16385, 513, 135, 1, 45, 9
Offset: 1

Views

Author

Antti Karttunen, Jan 02 2019

Keywords

Crossrefs

Cf. A000265, A156552, A246277, A305897 (restricted growth sequence transform), A322994 (Möbius transform).
Cf. also A322995.

Programs

  • Mathematica
    Array[#/2^IntegerExponent[#, 2] &@ Floor@ Total@ Flatten@ MapIndexed[#1 2^(#2 - 1) &, Flatten[Table[2^(PrimePi@ #1 - 1), {#2}] & @@@ FactorInteger@ #]] &, 91] (* Michael De Vlieger, Jan 03 2019 *)
  • PARI
    A000265(n) = (n/2^valuation(n, 2));
    A064989(n) = {my(f); f = factor(n); if((n>1 && f[1,1]==2), f[1,2] = 0); for (i=1, #f~, f[i,1] = precprime(f[i,1]-1)); factorback(f)};
    A156552(n) = if(1==n, 0, if(!(n%2), 1+(2*A156552(n/2)), 2*A156552(A064989(n))));
    A322993(n) = if(1==n,0,A000265(A156552(n)));

Formula

a(1) = 0; for n > 1, a(n) = A000265(A156552(n)).
For n > 1, a(n) = A156552(2*A246277(n)).
A000120(a(n)) = A001222(n) for all n >= 1.

A289271 A bijective binary representation of the prime factorization of a number, shown in decimal (see Comments for precise definition).

Original entry on oeis.org

0, 1, 2, 4, 8, 3, 16, 32, 64, 5, 128, 6, 256, 9, 10, 512, 1024, 17, 2048, 12, 18, 33, 4096, 34, 8192, 65, 16384, 20, 32768, 7, 65536, 131072, 66, 129, 24, 36, 262144, 257, 130, 40, 524288, 11, 1048576, 68, 72, 513, 2097152, 258, 4194304, 1025, 514, 132
Offset: 1

Views

Author

Rémy Sigrist, Jun 30 2017

Keywords

Comments

For n > 0, with prime factorization Product_{i=1..k} p_i ^ e_i (all p_i distinct and all e_i > 0):
- let S_n = A000961 \ { p_i ^ (e_i + j) with i=1..k and j > 0 },
- a(n) = Sum_{i=1..k} 2^#{ s in S_n with 1 < s < p_i ^ e_i }.
In an informal way, we encode the prime powers > 1 that are unitary divisors of n as 1's in binary, while discarding the 0's corresponding to their "proper" multiples.
a(A002110(n)) = 2^n-1 for any n >= 0.
a(A000961(n+1)) = 2^(n-1) for any n > 0.
A000120(a(n)) = A001221(n) for any n > 0 (each prime divisor p of n (alongside the p-adic valuation of n) is encoded as a single 1 bit in the base-2 representation of a(n)).
A000961(2+A007814(a(n))) = A034684(n) for any n > 1 (the least significant bit of a(n) encodes the smallest unitary divisor of n that is larger than 1).
This sequence establishes a bijection between the positive numbers and the nonnegative numbers; see A289272 for the inverse of this sequence.
The numbers 4, 36, 40 and 532 equal their image; are there other such numbers?
This sequence has connections with A034729 (which encodes the divisors of a number, and is not surjective) and A087207 (which encodes the prime divisors of a number, and is not injective).

Examples

			For n = 204 = 2^2 * 3 * 17:
- S_204 = A000961 \ { 2^3, 2^4, ..., 3^2, ... }
        = { 1, 2, 3, 4, 5, 7, 11, 13, 17, ... },
- a(204) = 2^#{ 2, 3 } + 2^#{ 2 } + 2^#{ 2, 3, 4, 5, 7, 11, 13 }
         = 2^2 + 2^1 + 2^7
         = 134.
See also the illustration of the first terms in Links section.
		

Crossrefs

Cf. also A156552, A052331 for similar constructions.

Programs

  • PARI
    See Links section.
    
  • PARI
    A289271(n) = { my(f = factor(n), pps = vecsort(vector(#f~, i, f[i, 1]^f[i, 2])), s=0, x=1, pp=1, k=-1); for(i=1,#f~, while(pp < pps[i], pp++; while(!isprimepower(pp)||(gcd(pp,x)>1), pp++); k++); s += 2^k; x *= pp); (s); }; \\ Antti Karttunen, Jan 01 2019

A322685 Nine-column table read by rows: 9-tuples that have the same value of phi, sigma, and tau.

Original entry on oeis.org

4337267040, 4548689376, 4577446560, 4578614964, 4606647660, 4607561340, 5024337318, 5056654590, 5059532610, 4343835816, 4344550776, 4467333640, 4467573880, 4583778744, 4584409224, 4879970766, 4880641986, 5149389234
Offset: 1

Views

Author

Jud McCranie, Jan 16 2019

Keywords

Comments

The terms are consecutive 9-tuples, ordered so that (A) a(9i-8) < a(9i-7) < ... < a(9i) for i > 0, and (B) a(9i+1) < a(9i+10) for i >= 0. The primitive solutions are in A322995.

Examples

			4337267040, 4548689376, 4577446560, 4578614964, 4606647660, 4607561340, 5024337318, 5056654590, and 5059532610 have the same value of phi (1106472960), sigma (15850598400), and tau (384), so these nine numbers are in the sequence.
		

Crossrefs

Showing 1-3 of 3 results.