OFFSET
1,1
COMMENTS
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
The number 24 is in sequence because A007955(24) = 331776 = 576^2 and simultaneously 331777 is prime.
PROG
(Magma) [n: n in [1..2000] | &*(Divisors(n)) ne n^2 and IsSquare(&*(Divisors(n))) and IsPrime(&*(Divisors(n))+1)]
(PARI) A007955(n)=if(issquare(n, &n), n^numdiv(n^2), n^(numdiv(n)/2))
is(n)=my(t=A007955(n)); t>n^2 && issquare(t) && isprime(t+1) \\ Charles R Greathouse IV, Sep 01 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Sep 01 2015
STATUS
approved