login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A056904 Floor[p/24] where p is a prime which is 4 more than a square. 5
0, 0, 1, 2, 7, 9, 12, 30, 45, 51, 57, 84, 92, 135, 176, 187, 222, 301, 315, 376, 392, 442, 551, 570, 651, 759, 782, 900, 1001, 1107, 1162, 1305, 1395, 1552, 1717, 1785, 1926, 1962, 2262, 2301, 2460, 2501, 2667, 2709, 2926, 2970, 3151, 3197, 3432, 3577, 3825 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

LINKS

Table of n, a(n) for n=0..50.

FORMULA

a(n) =floor[A005473(n)/24]

EXAMPLE

a(2)=1 since 29 is a prime which is four more than a square and floor[29/24]=1

MATHEMATICA

Join[{0}, Floor[#/24]&/@Select[Prime[Range[10000]], #-Floor[Sqrt[#]]^2 == 4&]] (* Harvey P. Dale, Oct 25 2011 *)

CROSSREFS

a(n) is contained in A001840. A005473(n)=24*a(n)+m, where m=13 if a(n) is three times a triangular number (and n>0) i.e. in A045943 and m=5 if A056904(n) is not three times a triangular number (or n=0) i.e. in A001318.

Sequence in context: A190500 A165584 A165474 * A319838 A253047 A077470

Adjacent sequences:  A056901 A056902 A056903 * A056905 A056906 A056907

KEYWORD

nonn

AUTHOR

Henry Bottomley, Jul 06 2000

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 11 18:01 EDT 2020. Contains 335652 sequences. (Running on oeis4.)