Number of ways n can be expressed as the sum of a nonzero square and 1 or a prime.
A062831
Number of ways n can be expressed as the sum of a nonzero square and 1 or a prime.
Terms
- a(0) =0a(1) =1a(2) =1a(3) =1a(4) =1a(5) =2a(6) =1a(7) =1a(8) =1a(9) =1a(10) =2a(11) =2a(12) =0a(13) =2a(14) =1a(15) =1a(16) =2a(17) =2a(18) =1a(19) =2a(20) =2a(21) =1a(22) =2a(23) =1a(24) =0a(25) =2a(26) =3a(27) =2a(28) =1a(29) =2
External references
- oeis: A062831