The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A302592 One, powers of 2, and prime numbers of prime index. 1
1, 2, 3, 4, 5, 8, 11, 16, 17, 31, 32, 41, 59, 64, 67, 83, 109, 127, 128, 157, 179, 191, 211, 241, 256, 277, 283, 331, 353, 367, 401, 431, 461, 509, 512, 547, 563, 587, 599, 617, 709, 739, 773, 797, 859, 877, 919, 967, 991, 1024, 1031, 1063, 1087, 1153, 1171 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
Union of A000079 and A006450. - Andrew Howroyd, Aug 26 2018
EXAMPLE
Entry A302242 describes a correspondence between positive integers and multiset multisystems. In this case it gives the following sequence of set multisystems.
001: {}
002: {{}}
003: {{1}}
004: {{},{}}
005: {{2}}
008: {{},{},{}}
011: {{3}}
016: {{},{},{},{}}
017: {{4}}
031: {{5}}
032: {{},{},{},{},{}}
041: {{6}}
059: {{7}}
064: {{},{},{},{},{},{}}
067: {{8}}
083: {{9}}
109: {{10}}
127: {{11}}
128: {{},{},{},{},{},{},{}}
MATHEMATICA
primeMS[n_]:=If[n===1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]];
Select[Range[1000], Or[#===1, Union[primeMS[#]]==={1}, PrimeQ[#]&&PrimeQ[PrimePi[#]]]&]
PROG
(PARI) ok(n)={n>>valuation(n, 2) == 1 || (isprime(n) && isprime(primepi(n)))} \\ Andrew Howroyd, Aug 26 2018
CROSSREFS
Sequence in context: A244395 A271488 A333347 * A078762 A103262 A135318
KEYWORD
nonn
AUTHOR
Gus Wiseman, Apr 10 2018
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 May 29 13:10 EDT 2024. Contains 372940 sequences. (Running on oeis4.)