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!)
A182775 Giza nonprimes. 0
1, 4, 6, 8, 9, 121, 232, 343, 454, 565, 676, 898, 12321, 23432, 45654, 56765, 67876, 78987, 1234321, 2345432, 3456543, 4567654, 5678765, 6789876, 123454321, 234565432, 456787654, 567898765, 12345654321, 23456765432, 45678987654 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
I propose the name Giza nonprimes.
The total number of terms is 37. The largest is 12345678987654321 which is also the largest mountain number A134941.
LINKS
FORMULA
A018252 INTERSECT A134810.
EXAMPLE
a(6)=121 is in the sequence because 121 is a nonprime number A018252 and 121 is also a Giza number A134810.
The last six terms of this finite sequence are
a(32) = 1234567654321
a(33) = 2345678765432
a(34) = 3456789876543
a(35) = 123456787654321
a(36) = 234567898765432
a(37) = 12345678987654321
Illustration of a(37) as a Giza nonprime:
. . . . . . . . 9 . . . . . . . .
. . . . . . . 8 . 8 . . . . . . .
. . . . . . 7 . . . 7 . . . . . .
. . . . . 6 . . . . . 6 . . . . .
. . . . 5 . . . . . . . 5 . . . .
. . . 4 . . . . . . . . . 4 . . .
. . 3 . . . . . . . . . . . 3 . .
. 2 . . . . . . . . . . . . . 2 .
1 . . . . . . . . . . . . . . . 1
MATHEMATICA
Select[Union[FromDigits/@Select[Flatten[Table[Table[Join[Range[i, i+n], Reverse[ Most[ Range[ i, i+n]]]], {n, 0, 9}], {i, 9}], 1], Max[#]<10&]], !PrimeQ[#]&] (* Harvey P. Dale, Aug 23 2011 *)
CROSSREFS
Sequence in context: A202266 A232541 A076612 * A046354 A046357 A227947
KEYWORD
nonn,base,easy,fini
AUTHOR
Omar E. Pol, Dec 16 2010
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 April 18 16:22 EDT 2024. Contains 371780 sequences. (Running on oeis4.)