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!)
A247396 Number of even numbers in classes of classification of the positive numbers defined in comment in A247395. 5
0, 1, 3, 8, 12, 36, 24, 60, 36, 84, 156, 60, 204, 156, 84, 180, 300, 336, 120, 384, 276, 144, 456, 324, 516, 744, 396, 204, 420, 216, 444, 1680, 516, 804, 276, 1440, 300, 924, 960, 660, 1020, 1056, 360, 1860, 384, 780, 396, 2460, 2604, 900, 456, 924, 1416, 480 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
In the classification every class contains no more than a finite number of numbers with a given least prime divisor.
LINKS
FORMULA
For n>=3, a(n) = (prime(n)^2 - prime(n-1)^2)/2.
EXAMPLE
a(6) = (prime(6)^2 - prime(5)^2)/2 = (13^2 - 11^2)/2 = 24. - Indranil Ghosh, Mar 08 2017
MAPLE
A247396:=n->(ithprime(n)^2 - ithprime(n-1)^2)/2: 0, 1, 3, seq(A247396(n), n=3..100); # Wesley Ivan Hurt, Apr 18 2017
MATHEMATICA
a[0] = 0; a[1] = 1; a[2] = 3; a[n_] := (Prime[n]^2 - Prime[n - 1]^2) / 2; Table[a[n], {n, 0, 53}] (* Indranil Ghosh, Mar 08 2017 *)
PROG
(PARI) for(n=0, 53, print1(if(n>2, (prime(n)^2 - prime(n - 1)^2)/2, if(n<2, n, 3)), ", ")) \\ Indranil Ghosh, Mar 08 2017
CROSSREFS
Sequence in context: A032217 A032142 A032046 * A180507 A218889 A131213
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Sep 16 2014
EXTENSIONS
More terms from Peter J. C. Moses, Sep 17 2014
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 March 19 07:04 EDT 2024. Contains 370953 sequences. (Running on oeis4.)