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!)
A279984 Positions of the prime numbers in the sequence of numbers that are not perfect powers (A007916). 2
1, 2, 3, 5, 7, 9, 12, 14, 18, 22, 24, 28, 32, 34, 38, 43, 49, 51, 56, 60, 62, 68, 71, 77, 85, 88, 90, 94, 96, 100, 112, 115, 121, 123, 132, 134, 140, 146, 150, 155, 161, 163, 173, 175, 178, 180, 192, 203, 206, 208, 212, 218, 220, 229, 234, 240, 246, 248, 254 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
A007916(a(n)) = A000040(n).
MATHEMATICA
nn=100; rads=Select[Range[2, nn], GCD@@FactorInteger[#][[All, 2]]===1&];
Table[Position[rads, Prime[n]][[1, 1]], {n, PrimePi[nn]}]
PROG
(PARI) lista(nn) = Vec(select(x->isprime(x), Vec(select(x->(!ispower(x)&&x>1), [1..nn])), 1)); \\ Michel Marcus, May 04 2018
CROSSREFS
Sequence in context: A293262 A348623 A200049 * A184017 A024195 A071423
KEYWORD
nonn
AUTHOR
Gus Wiseman, Dec 24 2016
STATUS
approved

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 April 25 05:56 EDT 2024. Contains 371964 sequences. (Running on oeis4.)