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!)
A304253 Numbers k such that k = Product (p_j^e_j) = Sum (prime(p_j)^e_j). 1
20, 68, 76, 92, 8248 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Fixed points of A304251.
LINKS
EXAMPLE
68 is a term because 68 = 2^2*17 = prime(1)^2*prime(7) = prime(prime(1))^2 + prime(prime(7)).
8248 is a term because 8248 = 2^3*1031 = prime(1)^3*prime(173) = prime(prime(1))^3 + prime(prime(173)).
MATHEMATICA
a[n_] := Plus @@ (Prime[#[[1]]]^#[[2]] & /@ FactorInteger[n]); Select[Range[10000], a[#] == # &]
PROG
(PARI) isok(n) = my(f=factor(n)); n == sum(k=1, #f~, prime(f[k, 1])^f[k, 2]); \\ Michel Marcus, May 09 2018
CROSSREFS
Sequence in context: A225190 A228839 A331096 * A330931 A158444 A235281
KEYWORD
nonn,more
AUTHOR
Ilya Gutkovskiy, May 09 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 April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)