[go: up one dir, main page]

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!)
Revision History for A138751 (Underlined text is an addition; strikethrough text is a deletion.)

Showing entries 1-10 | older changes
A138751 a(n) = nextprime( p(n)/2 if p(n)=2 (mod 3), 2p(n) else ) = A007918( A138750( A000040( n ))).
(history; published version)
#22 by OEIS Server at Wed Aug 02 14:11:28 EDT 2023
LINKS

Paolo Xausa, <a href="/A138751/b138751_1.txt">Table of n, a(n) for n = 1..10000</a>

#21 by N. J. A. Sloane at Wed Aug 02 14:11:27 EDT 2023
STATUS

proposed

approved

Discussion
Wed Aug 02 14:11
OEIS Server: Installed first b-file as b138751.txt.
#20 by Michel Marcus at Sat Jul 29 01:23:19 EDT 2023
STATUS

editing

proposed

#19 by Michel Marcus at Sat Jul 29 01:23:15 EDT 2023
STATUS

proposed

editing

#18 by Paolo Xausa at Fri Jul 28 03:35:01 EDT 2023
STATUS

editing

proposed

Discussion
Fri Jul 28 03:58
Michel Marcus: I am not too keen on 1st part of name
04:10
Paolo Xausa: Maybe "a(n) = smallest prime greater than x, where x = prime(n)/2 if prime(n) == 2 (mod 3), 2*prime(n) otherwise"
Or just keep the second part?
Sat Jul 29 01:23
Michel Marcus: let's see what others say
#17 by Paolo Xausa at Fri Jul 28 03:25:33 EDT 2023
LINKS

Paolo Xausa, <a href="/A138751/b138751_1.txt">Table of n, a(n) for n = 1..10000</a>

MATHEMATICA

A138751[n_]:=With[{p=Prime[n]}, NextPrime[If[Mod[p, 3]==2, p/2, 2p]]]; Array[A138751, 100] (* Paolo Xausa, Jul 28 2023 *)

STATUS

approved

editing

#16 by Andrey Zabolotskiy at Wed May 17 13:01:21 EDT 2023
STATUS

editing

approved

#15 by Andrey Zabolotskiy at Wed May 17 13:01:09 EDT 2023
LINKS

Georges Brougnard, <a href="httphttps://webwww.archiveecholalie.org/web/20160313060620/http://www.echolaliste.com/gbnums/gb0.jpg">Definition of GB-sequences</a>.

STATUS

proposed

editing

#14 by Michel Marcus at Wed May 17 12:39:09 EDT 2023
STATUS

editing

proposed

#13 by Michel Marcus at Wed May 17 12:39:03 EDT 2023
FORMULA

a(n)=) = A007918( (A138750( (A000040( (n )))))).

EXAMPLE

a(1)=) = nextprime( (2/2 )=) = 2, a(2) = nextprime( (2*3 )=) = 7, a(3) =) = nextprime(5/2) = 7.

nextprime( 5/2 )=7, ...

STATUS

proposed

editing

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 August 30 17:27 EDT 2024. Contains 375545 sequences. (Running on oeis4.)