Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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 A302853

(Underlined text is an addition; strikethrough text is a deletion.)

Showing all changes.
A302853 Suspected permutation of nonnegative integers: a(n) = A052331(A282291(1+n)).
(history; published version)
#6 by N. J. A. Sloane at Thu Jun 07 22:07:17 EDT 2018
STATUS

proposed

approved

#5 by Antti Karttunen at Thu May 17 15:43:52 EDT 2018
STATUS

editing

proposed

#4 by Antti Karttunen at Thu May 17 09:36:21 EDT 2018
LINKS

Antti Karttunen, <a href="/A302853/b302853.txt">Table of n, a(n) for n = 0..30530</a>

Discussion
Thu May 17 09:37
Antti Karttunen: Looks quite regular/tame when compared to A304533.
#3 by Antti Karttunen at Thu May 17 09:23:41 EDT 2018
COMMENTS

Shares with sequences like A003188, A006068, A300838, A302846, A303765, A303767, A304083 and A304533 the property that when moving from any a(n) to a(n+1) either a subset of 0-bits are toggled on (changed to 1's), or a subset of 1-bits are toggled off (changed to 0's), but no both kind of changes may occur at the same step.

LINKS

<a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a>

<a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>

#2 by Antti Karttunen at Thu May 17 09:21:21 EDT 2018
NAME

allocatedSuspected permutation forof Anttinonnegative Karttunenintegers: a(n) = A052331(A282291(1+n)).

DATA

0, 1, 3, 2, 6, 4, 12, 8, 9, 11, 10, 14, 30, 16, 17, 19, 18, 22, 20, 28, 24, 25, 27, 26, 31, 5, 7, 15, 13, 29, 21, 23, 87, 64, 65, 67, 66, 70, 68, 76, 72, 73, 75, 74, 78, 94, 80, 81, 83, 82, 86, 84, 92, 88, 89, 91, 90, 95, 69, 71, 79, 77, 93, 85, 117, 32, 33, 41, 40, 44, 36, 52, 48, 49, 57, 56, 60, 124, 96, 97, 105, 104, 108, 100, 116, 112, 113, 121, 120, 125

OFFSET

0,3

FORMULA

a(n) = A052331(A282291(1+n)).

PROG

(PARI)

up_to_e = 2^15;

v050376 = vector(up_to_e);

A050376(n) = v050376[n];

ispow2(n) = (n && !bitand(n, n-1));

i = 0; for(n=1, oo, if(ispow2(isprimepower(n)), i++; v050376[i] = n); if(i == up_to_e, break));

A052331(n) = { my(s=0, e); while(n > 1, fordiv(n, d, if(((n/d)>1)&&ispow2(isprimepower(n/d)), e = vecsearch(v050376, n/d); if(!e, print("v050376 too short!"); return(1/0)); s += 2^(e-1); n = d; break))); (s); };

A302853(n) = A052331(A282291(1+n)); \\ Needs also code from A282291.

CROSSREFS

Cf. A302854 (inverse).

Cf. A052331, A282291.

Cf. also A304533.

KEYWORD

allocated

nonn

AUTHOR

Antti Karttunen, May 17 2018

STATUS

approved

editing

#1 by Antti Karttunen at Sat Apr 14 07:48:46 EDT 2018
NAME

allocated for Antti Karttunen

KEYWORD

allocated

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 18 18:19 EDT 2024. Contains 375273 sequences. (Running on oeis4.)