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.

Previous Showing 11-20 of 29 results. Next

A353500 Numbers that are the smallest number with product of prime exponents k for some k. Sorted positions of first appearances in A005361, unsorted version A085629.

Original entry on oeis.org

1, 4, 8, 16, 32, 64, 128, 144, 216, 288, 432, 864, 1152, 1296, 1728, 2048, 2592, 3456, 5184, 7776, 8192, 10368, 13824, 15552, 18432, 20736, 31104, 41472, 55296, 62208, 73728, 86400, 108000, 129600, 131072, 165888, 194400, 216000, 221184, 259200, 279936, 324000
Offset: 1

Views

Author

Gus Wiseman, May 17 2022

Keywords

Comments

All terms are highly powerful (A005934), but that sequence looks only at first appearances that reach a record, and is missing 1152, 2048, 8192, etc.

Examples

			The prime exponents of 86400 are (7,3,2), and this is the first case of product 42, so 86400 is in the sequence.
		

Crossrefs

These are the positions of first appearances in A005361, counted by A266477.
This is the sorted version of A085629.
The version for shadows instead of exponents is A353397, firsts in A353394.
A001222 counts prime factors with multiplicity, distinct A001221.
A003963 gives product of prime indices, counted by A339095.
A056239 adds up prime indices, row sums of A112798 and A296150.
A124010 gives prime exponents, sorted A118914.
A130091 lists numbers with distinct prime exponents, counted by A098859.
A181819 gives prime shadow, with an inverse A181821.
Subsequence of A181800.

Programs

  • Mathematica
    nn=1000;
    d=Table[Times@@Last/@FactorInteger[n],{n,nn}];
    Select[Range[nn],!MemberQ[Take[d,#-1],d[[#]]]&]
    lps[fct_] := Module[{nf = Length[fct]}, Times @@ (Prime[Range[nf]]^Reverse[fct])]; lps[{1}] = 1; q[n_] := Module[{e = FactorInteger[n][[;; , 2]]}, (n == 1 || AllTrue[e, # > 1 &]) && n == Min[lps /@ f[Times @@ e]]]; Select[Cases[Import["https://oeis.org/A025487/b025487.txt", "Table"], {, }][[;; , 2]], q] (* Amiram Eldar, Sep 29 2024, using the function f by T. D. Noe at A162247 *)

A308135 Sum of non-coreful divisors of n.

Original entry on oeis.org

0, 1, 1, 1, 1, 6, 1, 1, 1, 8, 1, 10, 1, 10, 9, 1, 1, 15, 1, 12, 11, 14, 1, 18, 1, 16, 1, 14, 1, 42, 1, 1, 15, 20, 13, 19, 1, 22, 17, 20, 1, 54, 1, 18, 18, 26, 1, 34, 1, 33, 21, 20, 1, 42, 17, 22, 23, 32, 1, 78, 1, 34, 20, 1, 19, 78, 1, 24, 27, 74, 1, 27, 1, 40
Offset: 1

Views

Author

Amiram Eldar and Paolo P. Lava, May 14 2019

Keywords

Comments

Non-coreful divisor d of a number k is a divisor such that rad(d) != rad(k), where rad(k) is the largest squarefree divisor of k (A007947).

Examples

			a(15) = 9. Prime factors of 15 are 3, 5 and its divisors are 1, 3, 5, 15. The non-coreful divisors are 1, 3, 5 and their sum is 9.
		

Crossrefs

Programs

  • Maple
    with(numtheory): P:=proc(k) local a,n; a:=mul(n,n=factorset(k));
    sigma(k)-a*sigma(k/a); end: seq(P(i),i=1..74);
  • Mathematica
    f[p_, e_] := (p^(e + 1) - 1)/(p - 1); fc[p_, e_] := f[p, e] - 1; a[1] = 0; a[n_] := Times @@ (f @@@ FactorInteger[n]) - Times @@ (fc @@@ FactorInteger[n]); Array[a, 100]

Formula

a(n) = A000203(n) - A057723(n).
Sum_{k=1..n} a(k) ~ c * n^2 / 2, where c = A013661 - A065487 = 0.413642... . - Amiram Eldar, Dec 08 2023

A134703 Powerful numbers (2b): a sum of nonnegative powers of its digits.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 24, 43, 63, 89, 132, 135, 153, 175, 209, 224, 226, 254, 258, 262, 263, 264, 267, 283, 308, 332, 333, 334, 347, 357, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 407, 445, 463, 472, 518, 538, 598, 629, 635, 653, 675, 730, 731, 732, 733, 734
Offset: 1

Views

Author

David W. Wilson, Sep 05 2009

Keywords

Comments

Here 0 digits may be used, with the convention that 0^0 = 1. Of course 0^1 = 0, so one is free to use the 0 digit to get an extra 1, or not.

Examples

			43 = 4^2 + 3^3; 254 = 2^7 + 5^3 + 4^0 = 128 + 125 + 1.
209 = 2^7 + 0^1 + 9^2.
732 = 7^0 + 3^6 + 2^1.
		

Crossrefs

Different from A007532 and A061862, which are variations.

Formula

If n = d_1 d_2 ... d_k in decimal then there are integers m_1 m_2 ... m_k >= 0 such that n = d_1^m_1 + ... + d_k^m_k.

A061862 Powerful numbers (2a): a sum of nonnegative powers of its digits.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 24, 43, 63, 89, 132, 135, 153, 175, 209, 224, 226, 254, 258, 262, 263, 264, 267, 283, 332, 333, 334, 347, 357, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 407, 445, 463, 472, 518, 538, 598, 629, 635, 653, 675, 730, 731, 732
Offset: 1

Views

Author

Erich Friedman, Jun 23 2001

Keywords

Comments

Zero digits cannot be used in the sum. - N. J. A. Sloane, Aug 31 2009
More precisely, digits 0 do not contribute to the sum, in contrast to A134703 where it is allowed to use 0^0 = 1. - M. F. Hasler, Nov 21 2019

Examples

			43 = 4^2 + 3^3; 254 = 2^7 + 5^3 + 4^0 = 128 + 125 + 1.
209 = 2^7 + 9^2.
732 = 7^0 + 3^6 + 2^1.
		

Crossrefs

Different from A007532 and A134703, which are variations.

Programs

  • Haskell
    a061862 n = a061862_list !! (n-1)
    a061862_list = filter f [0..] where
       f x = g x 0 where
         g 0 v = v == x
         g u v = if d <= 1 then g u' (v + d) else v <= x && h 1
                 where h p = p <= x && (g u' (v + p) || h (p * d))
                       (u', d) = divMod u 10
    -- Reinhard Zumkeller, Jun 02 2013
  • Mathematica
    f[ n_ ] := Module[ {}, a=IntegerDigits[ n ]; e=g[ Length[ a ] ]; MemberQ[ Map[ Apply[ Plus, a^# ] &, e ], n ] ] g[ n_ ] := Map[ Take[ Table[ 0, {n} ]~Join~#, -n ] &, IntegerDigits[ Range[ 10^n ], 10 ] ] For[ n=0, n >= 0, n++, If[ f[ n ], Print[ n ] ] ]

Formula

If n = d_1 d_2 ... d_k in decimal then there are integers m_1 m_2 ... m_k >= 0 such that n = d_1^m_1 + ... + d_k^m_k.

A307888 Non-coreful perfect numbers.

Original entry on oeis.org

6, 234, 588, 600, 6552, 89376, 209195610624
Offset: 1

Views

Author

Paolo P. Lava, May 09 2019

Keywords

Comments

A coreful divisor d of a number k is a divisor with the same set of distinct prime factors as k (see LINKS).
Here, only the non-coreful divisors of k are considered.

Examples

			Divisors of 234 are 1, 2, 3, 6, 9, 13, 18, 26, 39, 78, 117, 234 and its prime factors are 2, 3, 13. Among the divisors, 78 and 234 are divided by all the prime factors and 1 + 2 + 3 + 6 + 9 + 13 + 18 + 26 + 39 + 117 = 234.
		

Crossrefs

Programs

  • Maple
    with(numtheory): P:=proc(q) local a,k,n; for n from 1 to q do
    a:=mul(k,k=factorset(n)); if n=sigma(n)-a*sigma(n/a) then print(n); fi;
    od; end: P(10^7);
  • Mathematica
    f[p_, e_] := (p^(e + 1) - 1)/(p - 1); fc[p_, e_] := f[p, e] - 1; ncQ[n_] := Times @@ (f @@@ FactorInteger[n]) - Times @@ (fc @@@ FactorInteger[n]) == n; Select[Range[2, 10^5], ncQ] (* Amiram Eldar, May 11 2019 *)
  • PARI
    rad(n) = factorback(factorint(n)[, 1]); \\ A007947
    s(n) = rad(n)*sigma(n/rad(n)); \\ A057723
    isok(n) = sigma(n) - s(n) == n; \\ Michel Marcus, May 11 2019

Formula

Solutions of k = A000203(k) - A057723(k).

Extensions

a(7) from Giovanni Resta, May 09 2019

A308029 Numbers whose sum of coreful divisors is equal to the sum of non-coreful divisors.

Original entry on oeis.org

6, 1638, 55860, 168836850, 12854283750
Offset: 1

Views

Author

Paolo P. Lava, May 10 2019

Keywords

Comments

A coreful divisor d of a number k is a divisor with the same set of distinct prime factors as k (see LINKS).
Sequence is a subset of A083207.
Tested up to 10^12. - Giovanni Resta, May 10 2019

Examples

			Divisors of 1638 are 1, 2, 3, 6, 7, 9, 13, 14, 18, 21, 26, 39, 42, 63, 78, 91, 117, 126, 182, 234, 273, 546, 819, 1638. The coreful ones are 546, 1638 and 1 + 2 + 3 + 6 + 7 + 9 + 13 + 14 + 18 + 21 + 26 + 39 + 42 + 63 + 78 + 91 + 117 + 126 + 182 + 234 + 273 + 819 = 546 + 1638 = 2184.
		

Crossrefs

Programs

  • Maple
    with(numtheory): P:=proc(q) local a, k, n; for n from 1 to q do
    a:=mul(k, k=factorset(n)); if sigma(n)=2*a*sigma(n/a)
    then print(n); fi; od; end: P(10^7);
  • Mathematica
    f[p_, e_] := (p^(e + 1) - 1)/(p - 1); fc[p_, e_] := f[p, e] - 1; csigmaQ[n_] := Times @@ (fc @@@ FactorInteger[n]) == Times @@ (f @@@ FactorInteger[n])/2; Select[Range[2, 10^5], csigmaQ] (* Amiram Eldar, May 11 2019 *)
  • PARI
    rad(n) = factorback(factorint(n)[, 1]); \\ A007947
    s(n) = my(rn=rad(n)); rn*sigma(n/rn); \\ A057723
    isok(n) = 2*s(n) == sigma(n); \\ Michel Marcus, May 11 2019

Formula

Solutions of A000203(k) = 2*A057723(k).

Extensions

a(4)-a(5) from Giovanni Resta, May 10 2019

A308127 Non-coreful abundant numbers: numbers k such that ncsigma(k) > k, where ncsigma(k) is the sum of the non-coreful divisors of k (A308135).

Original entry on oeis.org

30, 42, 60, 66, 70, 78, 84, 90, 102, 114, 120, 126, 132, 138, 150, 156, 168, 174, 180, 186, 198, 210, 222, 240, 246, 258, 270, 282, 294, 300, 318, 330, 336, 354, 366, 378, 390, 402, 420, 426, 438, 450, 462, 474, 480, 498, 510, 534, 546, 570, 582, 606, 618, 630
Offset: 1

Views

Author

Amiram Eldar and Paolo P. Lava, May 14 2019

Keywords

Comments

Non-coreful divisor d of a number k is a divisor such that rad(d) != rad(k), where rad(k) is the largest squarefree divisor of k (A007947).

Examples

			60 is in the sequence since its non-coreful divisors are 1, 2, 3, 4, 5, 6, 10, 12, 15, and 20 whose sum is 78 > 60.
		

Crossrefs

Programs

  • Maple
    with(numtheory): P:=proc(k) local a,n; a:=mul(n,n=factorset(k));
    if sigma(k)-a*sigma(k/a)>k then k; fi;  end: seq(P(i),i=1..630);
  • Mathematica
    f[p_, e_] := (p^(e + 1) - 1)/(p - 1); fc[p_, e_] := f[p, e] - 1; ncAbQ[n_] := Times @@ (f @@@ FactorInteger[n]) - Times @@ (fc @@@ FactorInteger[n]) > n; Select[Range[2, 1000], ncAbQ]
  • PARI
    rad(n) = factorback(factorint(n)[, 1]); \\ A007947
    s(n) = my(r=rad(n)); sumdiv(n, d, if (rad(d)!=r, d));
    isok(n) = s(n) > n; \\ Michel Marcus, May 14 2019

A307986 Amicable pairs {x, y} such that y is the sum of the divisors of x that are not divided by every prime factor of x and vice versa.

Original entry on oeis.org

42, 54, 198, 204, 582, 594, 142310, 168730, 1077890, 1099390, 1156870, 1292570, 1511930, 1598470, 1669910, 2062570, 2236570, 2429030, 2728726, 3077354, 4246130, 4488910, 4532710, 5123090, 5385310, 5504110, 5812130, 6135962, 6993610, 7158710, 7288930, 8221598
Offset: 1

Views

Author

Paolo P. Lava, May 09 2019

Keywords

Comments

A coreful divisor d of a number k is a divisor with the same set of distinct prime factors as k (see LINKS).
Here, only the non-coreful divisors of k are considered.
The non-coreful perfect numbers listed in A307888 are not considered here.
The first time a pair ordered by its first element is not adjacent is for x = 4532710 and y = 6135962, which correspond to a(23) and a(28), respectively.

Examples

			Divisors of x = 42 are 1, 2, 3, 6, 7, 14, 21, 42 and prime factors are 2, 3, 7. Among the divisors, 42 is the only one that is divisible by every prime factor, so we have 1 + 2 + 3 + 6 + 7 + 14 + 21 = 54 = y.
Divisors of y = 54 are 1, 2, 3, 6, 9, 18, 27, 54 and prime factors are 2, 3. Among the divisors, 6, 18, 54 are the only ones that are divisible by every prime factor, so we have 1 + 2 + 3 + 9 + 27 = 42 = x.
		

Crossrefs

Programs

  • Maple
    with(numtheory): P:=proc(q) local a,b,c,k,n; for n from 2 to q do
    a:=mul(k,k=factorset(n)); b:=sigma(n)-a*sigma(n/a);
    a:=mul(k,k=factorset(b)); c:=sigma(b)-a*sigma(b/a);
    if c=n and b<>c then print(n); fi; od; end: P(10^8);
  • Mathematica
    f[p_, e_] := (p^(e + 1) - 1)/(p - 1); fc[p_, e_] := f[p, e] - 1; ncs[n_] := Times @@ (f @@@ FactorInteger[n]) - Times @@ (fc @@@ FactorInteger[n]); seq = {}; Do[m = ncs[n]; If[m > 1 && m != n && n == ncs[m], AppendTo[seq, n]], {n, 2, 10^6}]; seq (* Amiram Eldar, May 11 2019 *)

A335850 Cubefull highly composite numbers: numbers with a record number of cubefull divisors (A190867).

Original entry on oeis.org

1, 8, 16, 32, 64, 128, 256, 512, 1024, 1728, 2592, 5184, 7776, 10368, 15552, 20736, 31104, 46656, 62208, 93312, 124416, 186624, 248832, 373248, 559872, 746496, 1119744, 1492992, 2239488, 2985984, 3359232, 4478976, 6718464, 8957952, 13436928, 17915904, 26873856
Offset: 1

Views

Author

Amiram Eldar, Jun 26 2020

Keywords

Comments

The analogous sequence of squarefull highly composite numbers is the sequence of highly powerful numbers (A005934).
The corresponding record values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 15, 16, ... (see the link for more values).
Also, indices of records in A361430, i.e., numbers k with a record number of coreful divisors d such that k/d is also a coreful divisor of k (a coreful divisor d of a number k is a divisor with the same set of distinct prime factors as k, see A307958). - Amiram Eldar, Aug 15 2023

Crossrefs

Subsequence of A025487.

Programs

  • Mathematica
    f[p_, e_] := Max[1, e-1] ; d[1] = 1; d[n_] := Times @@ (f @@@ FactorInteger[n]); s = {}; dm = 0; Do[d1 = d[n]; If[d1 > dm, dm = d1; AppendTo[s, n]], {n, 1, 10^5}]; s
  • PARI
    d(n) = vecprod(apply(x->max(1, x-1), factor(n)[, 2]));
    lista(kmax) = {my(dm = 0, d1); for(k = 1, kmax, d1 = d(k); if(d1 > dm, dm = d1; print1(k, ", ")));} \\ Amiram Eldar, Aug 15 2023

A349112 Powerful highly abundant numbers: numbers m such that psigma(m) > psigma(k) for all k < m, where psigma(k) is the sum of powerful divisors of k (A183097).

Original entry on oeis.org

1, 4, 8, 16, 27, 32, 64, 72, 108, 128, 144, 200, 216, 256, 288, 392, 400, 432, 576, 648, 800, 864, 1152, 1296, 1728, 1944, 2304, 2592, 3456, 3888, 5184, 6912, 7776, 10000, 10368, 11664, 13824, 15552, 20000, 20736, 23328, 27000, 27648, 31104, 34992, 40000, 41472
Offset: 1

Views

Author

Amiram Eldar, Nov 08 2021

Keywords

Comments

The corresponding record values are 1, 5, 13, 29, 37, 61, 125, 130, 185, 253, ...

Examples

			The first 8 terms of A183097 are 1, 1, 1, 5, 1, 1, 1 and 13. The record values, 1, 5 and 13, occur at 1, 4 and 8, the first 3 terms of this sequence.
		

Crossrefs

A349111 is a subsequence.
Similar sequences: A285614, A292983, A327634, A328134, A329883, A348272.

Programs

  • Mathematica
    f[p_,e_] := (p^(e+1)-1)/(p-1) - p; s[1] = 1; s[n_] := Times @@ f @@@FactorInteger[n]; seq = {}; sm = 0; Do[s1 = s[n]; If[s1 > sm, sm = s1; AppendTo[seq, n]], {n, 1, 10^5}]; seq
Previous Showing 11-20 of 29 results. Next