# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/
Search: id:a278224
Showing 1-1 of 1
%I A278224 #21 Mar 28 2021 07:01:14
%S A278224 1,2,2,2,4,8,6,6,2,2,2,2,4,2,12,2,6,6,12,32,12,12,6,12,4,6,12,12,16,2,
%T A278224 2,6,6,2,6,2,6,6,2,6,6,2,24,2,24,12,8,6,2,6,48,6,30,12,6,2,6,2,2,6,6,
%U A278224 24,30,6,60,12,36,6,2,12,2,12,24,6,6,24,72,128,30,12,2,6,12,24,2,2,30,48,4,2,6,2,6,48,16,96,6,30,2,6,12,6,24,30,2,2,6
%N A278224 a(n) = A046523(A048673(n)).
%C A278224 This sequence works as a "sentinel" for sequence A048673 by matching to any other sequence that is obtained as f(A048673(n)), where f(n) is any function that depends only on the prime signature of n (see the index entry for "sequences computed from exponents in ..."). As of Nov 11 2016 no such sequences were present in the database.
%H A278224 Antti Karttunen, Table of n, a(n) for n = 1..10500
%H A278224 Index entries for sequences computed from exponents in factorization of n
%F A278224 a(n) = A046523(A048673(n)).
%o A278224 (Scheme) (define (A278224 n) (A046523 (A048673 n)))
%o A278224 (Python)
%o A278224 from sympy import factorint, nextprime
%o A278224 from operator import mul
%o A278224 def P(n):
%o A278224 f = factorint(n)
%o A278224 return sorted([f[i] for i in f])
%o A278224 def a046523(n):
%o A278224 x=1
%o A278224 while True:
%o A278224 if P(n) == P(x): return x
%o A278224 else: x+=1
%o A278224 def a048673(n):
%o A278224 f = factorint(n)
%o A278224 return 1 if n==1 else (1 + reduce(mul, [nextprime(i)**f[i] for i in f]))//2
%o A278224 def a(n): return a046523(a048673(n))
%o A278224 print([a(n) for n in range(1, 101)]) # _Indranil Ghosh_, Jun 12 2017
%Y A278224 Cf. A046523, A048673, A278223.
%K A278224 nonn
%O A278224 1,2
%A A278224 _Antti Karttunen_, Nov 16 2016
# Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE