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!)
A025473 a(1) = 1; for n > 1, a(n) = prime root of n-th prime power (A000961). 29

%I #57 Jan 11 2024 11:09:34

%S 1,2,3,2,5,7,2,3,11,13,2,17,19,23,5,3,29,31,2,37,41,43,47,7,53,59,61,

%T 2,67,71,73,79,3,83,89,97,101,103,107,109,113,11,5,127,2,131,137,139,

%U 149,151,157,163,167,13,173,179,181,191,193,197,199,211,223,227,229,233,239

%N a(1) = 1; for n > 1, a(n) = prime root of n-th prime power (A000961).

%C This sequence is related to the cyclotomic sequences A013595 and A020500, leading to the procedure used in the Mathematica program. - _Roger L. Bagula_, Jul 08 2008

%C From _Reinhard Zumkeller_, Jun 26 2011: (Start)

%C A000961(n) = a(n)^A025474(n); A056798(n) = a(n)^(2*A025474(n));

%C A192015(n) = A025474(n)*a(n)^(A025474(n)-1). (End)

%C "LCM numeral system": a(n+1) is radix for index n, n >= 0; a(-n+1) is 1/radix for index n, n < 0. - _Daniel Forgues_, May 03 2014

%C This is the LCM-transform of A000961; same as A014963 with all 1's (except a(1)) removed. - _David James Sycamore_, Jan 11 2024

%D Paul J. McCarthy, Algebraic Extensions of Fields, Dover books, 1976, pages 40, 69

%H David Wasserman, <a href="/A025473/b025473.txt">Table of n, a(n) for n = 1..1000</a>

%H OEIS Wiki, <a href="/wiki/LCM_numeral_system">LCM numeral system</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/CyclotomicPolynomial.html">Cyclotomic Polynomial</a>

%F a(n) = A006530(A000961(n)) = A020639(A000961(n)). - _David Wasserman_, Feb 16 2006

%p cvm := proc(n, level) local f,opf; if n < 2 then RETURN() fi;

%p f := ifactors(n); opf := op(1,op(2,f)); if nops(op(2,f)) > 1 or

%p op(2,opf) <= level then RETURN() fi; op(1,opf) end:

%p A025473_list := n -> [1,seq(cvm(i,0),i=1..n)];

%p A025473_list(240); # _Peter Luschny_, Sep 21 2011

%t a = Join[{1}, Flatten[Table[If[PrimeQ[Apply[Plus, CoefficientList[Cyclotomic[n, x], x]]], Apply[Plus, CoefficientList[Cyclotomic[n, x], x]], {}], {n, 1, 1000}]]] (* _Roger L. Bagula_, Jul 08 2008 *)

%t Join[{1}, First@ First@# & /@ FactorInteger@ Select[Range@ 240, PrimePowerQ]] (* _Robert G. Wilson v_, Aug 17 2017 *)

%o (Sage)

%o def A025473_list(n) :

%o R = [1]

%o for i in (2..n) :

%o if i.is_prime_power() :

%o R.append(prime_divisors(i)[0])

%o return R

%o A025473_list(239) # _Peter Luschny_, Feb 07 2012

%o (Haskell)

%o a025473 = a020639 . a000961 -- _Reinhard Zumkeller_, Aug 14 2013

%o (PARI) print1(1); for(n=2,1e3, if(isprimepower(n,&p), print1(", "p))) \\ _Charles R Greathouse IV_, Apr 28 2014

%Y Cf. A013595, A020500, A025476.

%Y Cf. A000961, A014963.

%K easy,nonn,nice

%O 1,2

%A _David W. Wilson_, Dec 11 1999

%E Offset corrected by _David Wasserman_, Dec 22 2008

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 March 29 09:44 EDT 2024. Contains 371268 sequences. (Running on oeis4.)