Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A059661
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A059661 Like A059459, but each term must be greater than the previous ones. +0
4
2, 3, 7, 23, 31, 4127, 4159, 20543, 134238271, 134238527, 167792959, 1241534783, 3389018431, 72108495167, 72108503359, 72108765503, 2722258935367507707706996859526254457151 (list; graph; listen)
OFFSET

1,1

LINKS

N. J. A. Sloane, Maple implementations of XORnos and DIFF

MAPLE

flip_primes_asc_search := proc(a, upto_bit, upto_length) local i, n, t; if(nops(a) >= upto_length) then RETURN(a); fi; t := a[nops(a)]; for i from 0 to upto_bit do n := XORnos(t, (2^i)); if(isprime(n) and (n > t)) then print([op(a), n]); RETURN(flip_primes_asc_search([op(a), n], upto_bit, upto_length)); fi; od; RETURN([op(a), `and no more`]); end;

E.g. call as: flip_primes_asc_search([2], 512, 21);

CROSSREFS

Sequence in context: A127581 A118883 A061712 this_sequence A072686 A002230 A106865

Adjacent sequences: A059658 A059659 A059660 this_sequence A059662 A059663 A059664

KEYWORD

nonn,base

AUTHOR

Antti Karttunen Feb 03 2001

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 23 17:09 EST 2009. Contains 167438 sequences.


AT&T Labs Research