OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Dallas Symphony Association, Dsokids - Triangle instrument.
Epsilones, Pythagoras - Music.
Ron Knott, Pythagorean Triples and Online Calculators.
EXAMPLE
a(1) = 11 because 11 is prime and {3,4,5} is a Pythagorean triple and 3+4+5 = 12 is the sum of a Pythagorean triple and 11+1 = 12, then we can write 3+4+5 = 11+1.
MAPLE
isprPer := proc(p) local dvs, m, n ; if p mod 2 = 1 then RETURN(false) ; fi ; dvs := p/2 ; for m in numtheory[divisors](dvs) do n := dvs/m-m ; if n > 0 and n < m then RETURN(true) ; fi ; od: RETURN(false) ; end: isA010814 := proc(n) local d; for d in numtheory[divisors](n) do if isprPer(n/d) then RETURN(true) ; fi ; od: RETURN(false) ; end: isA136000 := proc(n) isA010814(n+1) ; end: isA136001 := proc(n) isprime(n) and isA136000(n) ; end: for n from 2 to 600 do if isA136001(n) then printf("%d, ", n) ; fi: od: # R. J. Mathar, Dec 12 2007
MATHEMATICA
q[n_] := PrimeQ[n] && Module[{d = Divisors[(n+1)/2]}, AnyTrue[Range[3, Length[d]], d[[#]] < 2 * d[[#-1]] &]]; Select[Range[650], q] (* Amiram Eldar, Oct 19 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Omar E. Pol, Dec 10 2007
EXTENSIONS
More terms from R. J. Mathar, Dec 12 2007
Extended by Ray Chandler, Dec 13 2008
STATUS
approved