[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 A305890 (Underlined text is an addition; strikethrough text is a deletion.)

Showing all changes.
A305890 Filter sequence for all such sequences b, for which b(A176997(k)) = constant for all k > 1, where A176997 is the union of odd primes and Fermat pseudoprimes.
(history; published version)
#7 by Susanna Cuyler at Sun Jul 01 08:35:24 EDT 2018
STATUS

proposed

approved

#6 by Antti Karttunen at Sun Jul 01 08:03:49 EDT 2018
STATUS

editing

proposed

#5 by Antti Karttunen at Sun Jul 01 05:37:25 EDT 2018
LINKS

Antti Karttunen, <a href="/A305890/b305890.txt">Table of n, a(n) for n = 1..101101</a>

#4 by Antti Karttunen at Sun Jul 01 05:36:34 EDT 2018
FORMULA

For all i, j: A305801(i) = A305801(j) => a(i) = a(j) => A062173(i) = A062173(j).

CROSSREFS

Cf. A001567, A062173, A176997, A257531.

#3 by Antti Karttunen at Sun Jul 01 05:29:53 EDT 2018
NAME

allocatedFilter sequence for all such sequences b, for which b(A176997(k)) = constant for all k > 1, where A176997 is the union of odd primes and AnttiFermat Karttunenpseudoprimes.

DATA

1, 2, 3, 4, 3, 5, 3, 6, 7, 8, 3, 9, 3, 10, 11, 12, 3, 13, 3, 14, 15, 16, 3, 17, 18, 19, 20, 21, 3, 22, 3, 23, 24, 25, 26, 27, 3, 28, 29, 30, 3, 31, 3, 32, 33, 34, 3, 35, 36, 37, 38, 39, 3, 40, 41, 42, 43, 44, 3, 45, 3, 46, 47, 48, 49, 50, 3, 51, 52, 53, 3, 54, 3, 55, 56, 57, 58, 59, 3, 60, 61, 62, 3, 63, 64, 65, 66, 67, 3, 68, 69, 70, 71, 72, 73, 74, 3

OFFSET

1,2

PROG

(PARI)

up_to = 100000;

A257531(n) = if(n==1, 0, if(Mod(2, n)^(n-1)==1, 1, 0));

partialsums(f, up_to) = { my(v = vector(up_to), s=0); for(i=1, up_to, s += f(i); v[i] = s); (v); }

vpartsums = partialsums(A257531, up_to);

Apartsums(n) = vpartsums[n];

A305890(n) = if(n<=2, n, if(A257531(n), 3, 1+n-Apartsums(n)));

CROSSREFS

Cf. A001567, A176997.

Differs from A305801 for the first time at n=341, where a(341) = 3, while A305801(341) = 275.

KEYWORD

allocated

nonn

AUTHOR

Antti Karttunen, Jul 01 2018

STATUS

approved

editing

#2 by Antti Karttunen at Thu Jun 14 06:00:33 EDT 2018
KEYWORD

allocating

allocated

#1 by Antti Karttunen at Thu Jun 14 06:00:33 EDT 2018
NAME

allocated for Antti Karttunen

KEYWORD

allocating

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 August 29 18:31 EDT 2024. Contains 375518 sequences. (Running on oeis4.)