[go: up one dir, main page]

login
Revision History for A354344 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
a(n) = 1 if n is x * A005383(i), where x is either 2, 3, 8, 9 or 15 and i > 2 [i.e., A005383(i) > 5], otherwise 0.
(history; published version)
#8 by Michael De Vlieger at Wed May 25 22:51:33 EDT 2022
STATUS

proposed

approved

#7 by Antti Karttunen at Wed May 25 21:46:17 EDT 2022
STATUS

editing

proposed

#6 by Antti Karttunen at Wed May 25 21:45:47 EDT 2022
LINKS

Antti Karttunen, <a href="/A354344/b354344.txt">Table of n, a(n) for n = 1..100000</a>

STATUS

approved

editing

#5 by Michael De Vlieger at Wed May 25 09:14:17 EDT 2022
STATUS

proposed

approved

#4 by Antti Karttunen at Wed May 25 04:35:33 EDT 2022
STATUS

editing

proposed

#3 by Antti Karttunen at Wed May 25 04:29:23 EDT 2022
NAME

allocated for Antti Karttunena(n) = 1 if n is x * A005383(i), where x is either 2, 3, 8, 9 or 15 and i > 2 [i.e., A005383(i) > 5], otherwise 0.

DATA

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0

OFFSET

1

LINKS

<a href="/index/Ch#char_fns">Index entries for characteristic functions</a>

PROG

(PARI) A354344(n) = { if(!(n%15), n/=15, if(!(n%9), n/=9, if(!(n%8), n/=8, if(!(n%3), n/=3, if(!(n%2), n/=2, return(0)))))); ((n>5) && isprime(n) && isprime((1+n)/2)); };

CROSSREFS

Characteristic function of A354345.

Cf. A005383.

KEYWORD

allocated

nonn

AUTHOR

Antti Karttunen, May 25 2022

STATUS

approved

editing

#2 by Antti Karttunen at Tue May 24 08:44:34 EDT 2022
KEYWORD

allocating

allocated

#1 by Antti Karttunen at Tue May 24 08:44:34 EDT 2022
NAME

allocated for Antti Karttunen

KEYWORD

allocating

STATUS

approved